summaryrefslogtreecommitdiff
path: root/block/partition-generic.c
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 /block/partition-generic.c
parent81e43960dce1c8e58e682fb3ec26c1d8f83a9afc (diff)
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 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions