diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-03-31 16:53:40 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2017-03-31 16:23:52 +0200 |
| commit | 5885615e44faebaf379fa0cdd2b9c084960dae38 (patch) | |
| tree | 266ff2dba40f9b0b5a79f0687df9c3d23d3ee6a7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ALSA: usb-audio: Fake also USB device id when alias is given (diff) | |
| download | linux-5885615e44faebaf379fa0cdd2b9c084960dae38.tar.gz linux-5885615e44faebaf379fa0cdd2b9c084960dae38.zip | |
ALSA: emux: stop if copy_from_user() fails
If we can't fill the "patch" struct because "count" is too small (it can
be as low as 4 bytes) or because copy_from_user() failed, then just
return instead of using unintialized data.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
