Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
alsa
0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0045-ucm-Set-uc_mgr-ctl-to-NULL-after-closing-it.patch of Package alsa
From 1629e2fbf3dc211eceb37f980e11e5babe1cefe4 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen <tanuk@iki.fi> Date: Sat, 26 Jan 2013 14:20:20 +0200 Subject: [PATCH 45/50] ucm: Set uc_mgr->ctl to NULL after closing it. Fixes a double-free bug. Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> --- src/ucm/main.c | 1 + 1 file changed, 1 insertion(+) --- a/src/ucm/main.c +++ b/src/ucm/main.c @@ -145,6 +145,7 @@ static int open_ctl(snd_use_case_mgr_t * free(uc_mgr->ctl_dev); uc_mgr->ctl_dev = NULL; snd_ctl_close(uc_mgr->ctl); + uc_mgr->ctl = NULL; } err = snd_ctl_open(ctl, ctl_dev, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor