summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-19 07:57:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-09 13:30:49 -0800
commite9f25689a86570c30d3f101b1f9834a579bed2e5 (patch)
tree1bfeb34fdeef5a2a1af5c0cb971c846fda15e4c4 /tools/perf/scripts/python/sctop.py
parentbc704e31edc723a84c2469f26aa0279e1ddb948e (diff)
Staging: sst: fixups in SNDRV_SST_STREAM_DECODE
This is another patch about copying data to the kernel before using it. SNDRV_SST_STREAM_DECODE is sort of tricky because we need to do a copy_from_user() that gives us another two pointers and we have copy those. Those again give us some more pointers that we have to copy. Besides those problems, the code had a stack overflow: - struct snd_sst_buff_entry ibuf_temp[param->ibufs->entries], - obuf_temp[param->obufs->entries]; param->ibufs->entries comes from the user. 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/sctop.py')
0 files changed, 0 insertions, 0 deletions