17 Mar
2022
17 Mar
'22
7:56 p.m.
On Thu, Mar 17, 2022 at 7:13 AM Takashi Iwai tiwai@suse.de wrote:
And, we want not only avoiding the overflow but also limiting the actual size, too. Practically seen, more than 1MB temporary buffer is unrealistic, and better to bail if more than that is requested.
Looks sane to me, although I obviously can't judge how well that 1M limit works since I don't know the uses.
Thanks, Linus