5 May
2019
5 May
'19
9:45 a.m.
On Thu, 02 May 2019 23:26:15 +0200, stian.skjelstad@gmail.com wrote:
From: Stian Skjelstad stian.skjelstad@gmail.com
maximum write size was calculated in words (16bit), but checked against byte-size length. This causes memcpy later to overflow the buffer (normally by up to 12KB).
remove a double free (by marking free'd data with NULL)
mmap returns MMAP_FAILED on error, not NULL
I suspect that this plugin/driver might have other issues aswell, since I am unable to find any logic for checking DSP buffer status, and no implementation for odelay reporting.
Author: Stian Skjelstad stian.skjelstad@gmail.com Signed-off-by: Stian Skjelstad stian.skjelstad@gmail.com
Thanks, applied now.
Takashi