summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-02 10:18:22 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-02 10:43:18 +0200
commitb61a2369085fd995c8ad44245d3fbd45b1216f71 (patch)
tree91bf6ceb35dd4aa14626566c79d2ee8edb143399 /tools/lib/python/kdoc
parent8b4d98aad61c3a9a5e01e0840470f9d7f32bc339 (diff)
ALSA: ump: Avoid dereference with max_src_size=0
safe_copy_string() refers the source pointer for a NUL terminator before verifying the source size. When max_src_size=0, it may dereference wrongly. Fix the verification order. Only hypothetical hardening, and we see no actual issue in the current code, as they are all valid sources. Fixes: e3f035edadcc ("ALSA: ump: Copy FB name string more safely") Link: https://patch.msgid.link/20261002081823.680131-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions