Dan Carpenter
fdd8218d7d
ALSA: line6: fix a crash in line6_hwdep_write()
...
The error checking here is messed up so we could end up dereferencing
-EFAULT.
Fixes: a16039cbf1a1 ('ALSA: line6: Add hwdep interface to access the POD control messages')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-10-12 20:10:23 +02:00
..
2015-12-08 14:59:19 +01:00
2015-05-26 13:00:01 +02:00
2016-08-11 23:05:57 +02:00
2014-02-12 11:18:00 +01:00
2016-10-12 20:10:23 +02:00
2015-11-16 09:03:06 +01:00
2015-12-02 18:03:24 +01:00
2016-07-18 12:32:45 +02:00
2016-08-22 11:39:56 +02:00
2016-04-29 11:49:04 +02:00
2013-04-04 08:30:59 +02:00
2011-05-18 11:44:35 +02:00
2016-08-22 11:40:04 +02:00
2014-11-04 15:09:10 +01:00
2016-08-22 11:41:02 +02:00
2013-06-27 21:59:47 +02:00
2016-05-08 11:42:04 +02:00
2011-09-27 09:21:48 +02:00
2016-03-31 15:02:33 -03:00
2016-03-31 15:02:33 -03:00
2016-05-08 11:42:30 +02:00
2016-01-29 07:36:10 +01:00
2016-06-17 16:58:41 +02:00
2016-09-23 08:32:18 +02:00
2015-12-14 10:13:17 +01:00
2014-12-18 08:39:17 +01:00
2014-11-13 07:32:39 +01:00
2016-04-09 17:22:40 +02:00
2016-03-31 15:02:33 -03:00
2016-03-31 15:02:33 -03:00
2011-09-12 10:30:20 +02:00
2011-03-11 14:59:29 +01:00
2015-08-26 15:38:25 +02:00
2010-03-05 08:17:14 +01:00
2016-03-31 15:02:33 -03:00
2016-09-11 09:33:12 +02:00
2016-01-29 07:36:10 +01:00
2016-04-05 06:47:50 -07:00
2011-09-14 17:07:02 +02:00
2016-05-10 16:06:04 +02:00