summaryrefslogtreecommitdiff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-05-12 18:04:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-02 07:06:50 +0200
commit9a64425945a0c8698e36ed55354db1245982c052 (patch)
tree4b0d01696f8f7979801eb2e8ea0f0ec6ee72dddb /samples/seccomp
parentda8477a6695afe14070267b885e0bc3788d0d34a (diff)
ALSA: au88x0: Fix zero clear of stream->resources
commit 639db596165746ca87bbcb56559b094fd9042890 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions