Actually there is a check in snd_ctl_new() which means that although these integer overflows do happen, we eventually return -ENOMEM and the whole thing is harmless. if (count == 0 || count > MAX_CONTROL_COUNT) regards, dan carpenter
- References:
- [PATCH] ALSA: control: prevent some integer overflow issues
- From: Dan Carpenter
- Re: [PATCH] ALSA: control: prevent some integer overflow issues
- From: Takashi Iwai
- Re: [PATCH] ALSA: control: prevent some integer overflow issues
- From: Dan Carpenter
- Re: [PATCH] ALSA: control: prevent some integer overflow issues
- From: Dan Carpenter
- Re: [PATCH] ALSA: control: prevent some integer overflow issues
- From: Takashi Iwai
- Re: [PATCH] ALSA: control: prevent some integer overflow issues
- From: Dan Carpenter
- [PATCH] ALSA: control: prevent some integer overflow issues
- Prev by Date: Re: (subset) [PATCH v7 00/16] Add audio support for the MediaTek Genio 350-evk board
- Next by Date: Re: (subset) [PATCH v7 00/16] Add audio support for the MediaTek Genio 350-evk board
- Previous by thread: Re: [PATCH] ALSA: control: prevent some integer overflow issues
- Next by thread: [PATCH 0/7] ASoC: Intel: boards: updates for 6.12 - part 2
- Index(es):