aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2010-10-26 21:41:28 +0000
committerJesse Barnes <[email protected]>2010-10-26 22:33:28 +0000
commita1862e31079149a52b6223776228c3aee493d4a7 (patch)
treef70f7e3f33f63dcf77428b745f0dd01ecbee8e24 /tools/perf/util/scripting-engines/trace-event-perl.c
parentresources: ensure callback doesn't allocate outside available space (diff)
downloadkernel-a1862e31079149a52b6223776228c3aee493d4a7.tar.gz
kernel-a1862e31079149a52b6223776228c3aee493d4a7.zip
resources: handle overflow when aligning start of available area
If tmp.start is near ~0, ALIGN(tmp.start) may overflow, which would make us think there's more available space than there really is. We would likely return something that conflicts with a previous resource, which would cause a failure when allocate_resource() requests the newly- allocated region. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=646027 Reported-by: Fabrice Bellet <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions