diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-05-12 18:04:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-05-12 18:04:16 +0200 |
commit | 639db596165746ca87bbcb56559b094fd9042890 (patch) | |
tree | 587a8ad80211b1c8a3c99e836295c88a34f45ace /crypto/internal.h | |
parent | ALSA: firewire-lib: drop skip argument from helper functions to queue a packet (diff) | |
download | linux-639db596165746ca87bbcb56559b094fd9042890.tar.xz linux-639db596165746ca87bbcb56559b094fd9042890.zip |
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 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions