diff options
author | Lionel Landwerlin <[email protected]> | 2018-09-04 13:36:11 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-03-08 11:01:14 +0000 |
commit | c0ea043888c1440c6f6f30d616ef5d2bf45bef46 (patch) | |
tree | eacd57da3c731d98c806ae6c21357702030196a6 /src | |
parent | 650e6e5d339f96486104976efb8497105687f20d (diff) |
intel/error2aub: strenghten batchbuffer identifier marker
Found out that some base64 data matched the '---' identifier. We can
avoid this by adding the surrounding spaces.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/tools/error2aub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c index 5fa089065f2..8da484b3702 100644 --- a/src/intel/tools/error2aub.c +++ b/src/intel/tools/error2aub.c @@ -339,9 +339,9 @@ main(int argc, char *argv[]) continue; } - char *dashes = strstr(line, "---"); + char *dashes = strstr(line, " --- "); if (dashes) { - dashes += 4; + dashes += 5; engine_from_name(line, &active_engine_class, &active_engine_instance); |