]> git.lttng.org Git - lttv.git/commit
Fix use after free of "filter/expression" attribute
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Mon, 19 Oct 2009 19:33:03 +0000 (15:33 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 19 Oct 2009 20:52:15 +0000 (16:52 -0400)
commitb399ad0eca4484e0cd9f99ef28bcdb044f93a991
treea4c5a68192eb977f4058d5f75a247928f133c1ad
parent8f31828398b8a4fcdb679324291132f4f0e3dce6
Fix use after free of "filter/expression" attribute

As evidenced by Valgrind:
 Invalid read of size 4
    at 0x402E248: process_traceset (batchAnalysis.c:103)
    by 0x80558E5: lttv_hooks_call (hook.c:272)
    by 0x8053596: main (main.c:219)
  Address 0x4cea1b8 is 88 bytes inside a block of size 256 free'd
    at 0x4024D47: realloc (vg_replace_malloc.c:476)
[...]
    by 0x402E204: process_traceset (batchAnalysis.c:97)
    by 0x80558E5: lttv_hooks_call (hook.c:272)
    by 0x8053596: main (main.c:219)

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
lttv/modules/text/batchAnalysis.c
This page took 0.027027 seconds and 4 git commands to generate.