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]> --- src/intel/tools/error2aub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c index ed11b35ffb1..ef8cd9dacf9 100644 --- a/src/intel/tools/error2aub.c +++ b/src/intel/tools/error2aub.c @@ -338,9 +338,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); -- 2.19.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
