[alsa-devel] [PATCH alsa-lib] ucm: Use strncmp to avoid access-out-of-boundary

Jaroslav Kysela perex at perex.cz
Fri Nov 29 20:50:11 CET 2019


Dne 29. 11. 19 v 20:35 Chih-Yang Hsia napsal(a):
> From: paulhsia <paulhsia at chromium.org>
> 
> If the length of the identifier is less than the length of the prefix,
> access-out-of-boundary will occur in memcmp().

Applied. Thank you for your contribution.

					Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list