aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSage Weil <[email protected]>2010-11-23 06:58:06 +0000
committerSage Weil <[email protected]>2010-12-01 22:15:31 +0000
commit884ea892763d4dfba509743f65961c782c0442db (patch)
tree92a7f5b67aa06cf32457ccb2b69c28c528a48c15 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentLinux 2.6.37-rc3 (diff)
downloadkernel-884ea892763d4dfba509743f65961c782c0442db.tar.gz
kernel-884ea892763d4dfba509743f65961c782c0442db.zip
ceph: avoid possible null deref in readdir after dir llseek
last may be NULL, but we dereference it in the else branch without checking. Normally it doesn't trigger because last == NULL when fpos == 2, but it could happen on a newly opened dir if the user seeks forward. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions