1
0
Fork 0
alistair23-linux/sound/i2c/other
Kirill Tkhai 115b94d51a ALSA: ak4117: Do not free priv until timer handler hasn't actually stopped using it
Function del_timer() does not guarantee that timer was really deleted.
If the timer handler is beeing executed at the moment, the function
does nothing. So, it's possible to use already freed memory in the handler:

[ref: Documentation/DocBook/kernel-locking.tmpl]

This was found using grep and compile-tested only.

Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-02-14 14:41:52 +01:00
..
Makefile [media] tea575x: Move from sound to media 2013-08-18 08:09:59 -03:00
ak4xxx-adda.c ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
ak4113.c ALSA: i2c/ak413x: Use SNDRV_DEV_CODEC for ak413x codec objects 2014-02-14 08:20:16 +01:00
ak4114.c ALSA: i2c/ak413x: Use SNDRV_DEV_CODEC for ak413x codec objects 2014-02-14 08:20:16 +01:00
ak4117.c ALSA: ak4117: Do not free priv until timer handler hasn't actually stopped using it 2014-02-14 14:41:52 +01:00
pt2258.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00