mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
[ Upstream commit 84d7a4470d ]
"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>