diff options
| author | Dan Carpenter <error27@gmail.com> | 2010-10-19 09:57:04 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-10 00:30:48 +0300 |
| commit | bc704e31edc723a84c2469f26aa0279e1ddb948e (patch) | |
| tree | 47d9c1b9675f303be6203beb46d533af288baa26 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 3b97eed201376db6c4487fc846022eb4ffa7e1f9 (diff) | |
| download | linux-bc704e31edc723a84c2469f26aa0279e1ddb948e.tar.xz | |
Staging: sst: more dereferencing user pointers
This is another patch about making a copy of the data into kernel space
before using it. It is easy to trigger a kernel oops in the original
code. If you passed a NULL to SNDRV_SST_SET_TARGET_DEVICE then it
called BUG_ON(). And SNDRV_SST_DRIVER_INFO would let you write the
information to arbitrary memory locations which is a security violation.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
