diff options
| author | HyeongJun An <sammiee5311@gmail.com> | 2026-10-20 19:18:37 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-21 11:36:10 +0200 |
| commit | c338e77291d6b1b6aee6d45b3cc523f97199a011 (patch) | |
| tree | dc8e66af1b19eac73b29c1a473633176077020ed /scripts/Makefile.thinlto | |
| parent | 317f2ddb6662fca8954e381a1bc632667872c4a3 (diff) | |
| download | linux-c338e77291d6b1b6aee6d45b3cc523f97199a011.tar.gz linux-c338e77291d6b1b6aee6d45b3cc523f97199a011.zip | |
selftests: ALSA: pcmtest: Make room for the longest fill pattern
The driver accepts fill patterns of up to 4096 bytes, as pcmtest.rst
documents. The test reads each pattern into a 1024-byte buffer, using
the length the driver reports. So a pattern longer than 1024 bytes
overflows the buffer into the next pattern and past the array.
Size the buffer to the driver's maximum.
Fixes: 10b98a4db11a ("selftests: ALSA: Add test for the 'pcmtest' driver")
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/7cbbcef84d2c14a2f0ec0ad2ba55c6ba0a15a8d8.1792390197.git.sammiee5311@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
