summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-compat-ioctl32.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-05-12 19:04:16 +0300
committerTakashi Iwai <tiwai@suse.de>2016-05-12 19:04:16 +0300
commit639db596165746ca87bbcb56559b094fd9042890 (patch)
tree587a8ad80211b1c8a3c99e836295c88a34f45ace /drivers/media/v4l2-core/v4l2-compat-ioctl32.c
parentff38e0c70adce96de0be0bf470cbb9e283ba6965 (diff)
downloadlinux-639db596165746ca87bbcb56559b094fd9042890.tar.xz
ALSA: au88x0: Fix zero clear of stream->resources
There are a few calls of memset() to stream->resources, but they all are called in a wrong size, sizeof(unsigned char) * VORTEX_RESOURCE_LAST, while this field is a u32 array. This may leave the memories not zero-cleared. Fix it by replacing them with a simpler sizeof(stream->resources) instead. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-compat-ioctl32.c')
0 files changed, 0 insertions, 0 deletions