Files
android_kernel_xiaomi_sm8450/tools/perf/util
Mitchell Krome 7ad74b41e5 perf symbols: Fix use after free in filename__read_build_id
In filename__read_build_id, phdr points to memory in buf, which gets realloced
before a call to fseek that uses phdr->p_offset. This change stores the value
of p_offset before buf is realloced, so the fseek can use the value safely.

Signed-off-by: Mitchell Krome <mitchellkrome@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20141216021612.GA7199@mitchell
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-12-17 11:58:17 -03:00
..
2013-12-27 15:17:00 -03:00
2011-02-16 13:30:48 +01:00
2012-02-13 23:17:40 -02:00
2014-10-29 11:24:47 -02:00
2014-12-17 11:58:16 -03:00
2014-10-14 17:32:52 -03:00
2014-10-14 17:32:52 -03:00
2014-05-21 11:48:33 +02:00
2013-08-07 17:35:26 -03:00
2014-05-01 21:22:39 +02:00
2014-07-10 00:22:54 +02:00
2014-07-10 00:22:54 +02:00
2014-10-29 11:24:47 -02:00
2014-05-01 21:22:39 +02:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2014-12-17 11:58:16 -03:00
2014-05-01 21:22:39 +02:00