summaryrefslogtreecommitdiffstats
path: root/firmware/keyspan_pda
diff options
context:
space:
mode:
authorMitchell Krome <mitchellkrome@gmail.com>2014-12-16 03:16:12 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-12-17 15:58:17 +0100
commit7ad74b41e56e4f7f42c6b765bc44428cd09310d7 (patch)
treed8e8763a585680ce52245c93c764f3eff124f3df /firmware/keyspan_pda
parentperf evlist: Use roundup_pow_of_two (diff)
downloadlinux-7ad74b41e56e4f7f42c6b765bc44428cd09310d7.tar.xz
linux-7ad74b41e56e4f7f42c6b765bc44428cd09310d7.zip
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>
Diffstat (limited to 'firmware/keyspan_pda')
0 files changed, 0 insertions, 0 deletions