aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorInsu Yun <[email protected]>2016-01-18 11:54:43 -0500
committerDavid Vrabel <[email protected]>2016-02-15 13:56:57 +0000
commit85c0a87cd117e83361932b2b160c9af178fdb21a (patch)
tree3f29931c9be46cb4ed83c1bf75cf05b85293e2fd /tools/perf/scripts/python/call-graph-from-postgresql.py
parent52ba0746b3b44c86aee121babf3b2fd9b8f84090 (diff)
xen: fix potential integer overflow in queue_reply
When len is greater than UINT_MAX - sizeof(*rb), in next allocation, it can overflow integer range and allocates small size of heap. After that, memcpy will overflow the allocated heap. Therefore, it needs to check the size of given length. Signed-off-by: Insu Yun <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions