Skip to content
Commit 359f9098 authored by Alexander Stein's avatar Alexander Stein Committed by Takashi Iwai
Browse files

ALSA: hda_hwdep: Fix possible buffer overflow



If a line in the firmware file is larger than the given buffer size (and
so the firmware file size), size is set to a value larger than the actual
buffer size. This results in an overflow in the buffer passed.

Signed-off-by: default avatarAlexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 228cf793
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment