Tag: 1f3b14072bacc80d62597ed7798e3daf7615dcc6

ALSA: fix possible memory leak in snd_mixer_oss_build_input()

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> uinfo has been allocated in this function and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Takashi Iwai — sound/core/oss/mixer_oss.c | 2 ++ 1 file changed, 2 insertions(+)   diff –git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c …

Continue reading