Re: [Mesa-dev] [PATCH 2/4] intel/aubinator: Free section data last

2017-12-28 Thread Lionel Landwerlin
Good catch! Reviewed-by: Lionel Landwerlin On 27/12/17 20:58, Jason Ekstrand wrote: We were walking the sections, printing the batches, and then freeing them in one pass. If the batch happens to reference any earlier sections (which it almost certainly will since it's at the end), we will acc

[Mesa-dev] [PATCH 2/4] intel/aubinator: Free section data last

2017-12-27 Thread Jason Ekstrand
We were walking the sections, printing the batches, and then freeing them in one pass. If the batch happens to reference any earlier sections (which it almost certainly will since it's at the end), we will access freed memory. --- src/intel/tools/aubinator_error_decode.c | 6 -- 1 file change