aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYi Zou <[email protected]>2012-08-14 16:06:43 -0700
committerNicholas Bellinger <[email protected]>2012-08-16 17:33:46 -0700
commitd0e27c88d795fb9647153063ec48051fd84e1731 (patch)
treec8b27735e4104bae438aa481d36e91eeb6ee5816 /tools/perf/util/trace-event-scripting.c
parent1fa8f4504130adc34a071a29170f570102136835 (diff)
target: fix NULL pointer dereference bug alloc_page() fails to get memory
I am hitting this bug when the target is low in memory that fails the alloc_page() for the newly submitted command. This is a sort of off-by-one bug causing NULL pointer dereference in __free_page() since 'i' here is really the counter of total pages that have been successfully allocated here. Signed-off-by: Yi Zou <[email protected]> Cc: Andy Grover <[email protected]> Cc: Nicholas Bellinger <[email protected]> Cc: Open-FCoE.org <[email protected]> Cc: [email protected] Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions