aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorXi Wang <[email protected]>2012-01-14 22:20:59 -0500
committerSage Weil <[email protected]>2012-02-02 12:49:11 -0800
commit32852a81bccd9e3d1953b894966393d1b546576d (patch)
tree8c21ce9f1a1e6ecfbeafdcc8552b77b3587bca5b /tools/perf/util/scripting-engines/trace-event-python.c
parentab434b60ab07f8c44246b6fb0cddee436687a09a (diff)
ceph: fix length validation in parse_reply_info()
"len" is read from network and thus needs validation. Otherwise, given a bogus "len" value, p+len could be an out-of-bounds pointer, which is used in further parsing. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Sage Weil <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions