aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-06-27 21:06:51 +0200
committerTakashi Iwai <tiwai@suse.de>2016-06-27 22:27:47 +0200
commit9c6795a9b3cbb56a9fbfaf43909c5c22999ba317 (patch)
tree73f2ed280bd43618cb48595ad763f7069fd28ed4 /README
parentALSA: hda - fix read before array start (diff)
downloadlinux-dev-9c6795a9b3cbb56a9fbfaf43909c5c22999ba317.tar.xz
linux-dev-9c6795a9b3cbb56a9fbfaf43909c5c22999ba317.zip
ALSA: echoaudio: Fix memory allocation
'commpage_bak' is allocated with 'sizeof(struct echoaudio)' bytes. We then copy 'sizeof(struct comm_page)' bytes in it. On my system, smatch complains because one is 2960 and the other is 3072. This would result in memory corruption or a oops. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions