diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-08 21:25:50 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-09 14:40:11 +0200 |
| commit | d69798357b5d562bcda1af488cda3ead4d039f8f (patch) | |
| tree | e569ca7ac4e43448d95a69b3335ef2670879bdd4 /tools/lib/python/kdoc/python_version.py | |
| parent | e2ef553dfe923959632e580bcad8583d922868ac (diff) | |
ALSA: line6: Fix potential OOB write in line6_capture_copy()
line6_capture_copy() copies the data for the original byte size, but
the buffer overwrap is checked against the frame size. Because of it,
when the data size isn't aligned in frames, the remaining bytes might
be still copied above the buffer size.
For avoiding the potential OOB write, correct the copied data size in
line6_capture_copy() to be aligned with frames.
Fixes: 1027f476f507 ("staging: line6: sync with upstream")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://patch.msgid.link/20261008192553.300025-11-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
