diff options
author | Takashi Iwai <tiwai@suse.de> | 2025-07-10 12:07:22 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-07-11 09:53:35 +0200 |
commit | 926359588170882ab39c578774a989a5237a3747 (patch) | |
tree | b8afd4455356dfe32b4913d3c7dbb64c5b649b5c /scripts/lib/kdoc/kdoc_re.py | |
parent | a9b25e8a437586fb1e1749caae96e305dc9e4906 (diff) |
ALSA: ac97: Copy string more safely
snd_ac97_get_name() blindly assumes that the name buffer is large
enough, but we should be more careful. Pass the max buffer length and
allow trimming to the size.
Only a cosmetic safety matter, no functional changes intended.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-101-tiwai@suse.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions