aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMurray McAllister <[email protected]>2017-03-27 11:15:12 +0200
committerThomas Hellstrom <[email protected]>2017-03-30 11:43:37 +0200
commit63774069d9527a1aeaa4aa20e929ef5e8e9ecc38 (patch)
tree45b99c756375c0db0953930cb52f7be1b2b814a2 /tools/perf/scripts/python/export-to-postgresql.py
parent36274ab8c596f1240c606bb514da329add2a1bcd (diff)
drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
In vmw_get_cap_3d_ioctl(), a user can supply 0 for a size that is used in vzalloc(). This eventually calls dump_stack() (in warn_alloc()), which can leak useful addresses to dmesg. Add check to avoid a size of 0. Cc: <[email protected]> Signed-off-by: Murray McAllister <[email protected]> Reviewed-by: Sinclair Yeh <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions