]> git.alsa-project.org Git - alsa-lib.git/commit
namehint: Fix bad free with invalid iface name
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 12:38:25 +0000 (14:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 12:38:25 +0000 (14:38 +0200)
commit46d98392d0f832e46693c8c06b4927a5eb6f4b28
tree79626eac6f84f8558f48bc0df76b8f15cf9a4fbd
parentc8667e3db4a47b0379562341317f3e868a7b2d51
namehint: Fix bad free with invalid iface name

Due to the uninitialized field before the error path, passing an
invalid iface argument may result in a bad free() call.  Initialize
the fields properly beforehand.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/namehint.c