diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-04 09:27:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 14:08:49 +0100 |
| commit | 05f119e61cb4961e963d63d611c8a6238acc5106 (patch) | |
| tree | 2546a9ba3b7858ef58d6c752d9802acb8eaf20c9 /net/lapb/lapb_timer.c | |
| parent | 03f848117ec27ea6fcfdbb1323609dd8ad5988d2 (diff) | |
ALSA: isa/wavefront: prevent some out of bound writes
[ Upstream commit 84d7a4470dbac0dd9389050100b54a1625d04264 ]
"header->number" can be up to USHRT_MAX and it comes from the ioctl so
it needs to be capped.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
