summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2025-07-10 12:07:22 +0200
committerTakashi Iwai <tiwai@suse.de>2025-07-11 09:53:35 +0200
commit926359588170882ab39c578774a989a5237a3747 (patch)
treeb8afd4455356dfe32b4913d3c7dbb64c5b649b5c /rust/helpers/task.c
parenta9b25e8a437586fb1e1749caae96e305dc9e4906 (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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions