Jesper Juhl
d92c7f8aab
caif: Do not dereference NULL in chnl_recv_cb()
...
In net/caif/chnl_net.c::chnl_recv_cb() we call skb_header_pointer()
which may return NULL, but we do not check for a NULL pointer before
dereferencing it.
This patch adds such a NULL check and properly free's allocated memory
and return an error (-EINVAL) on failure - much better than crashing..
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-20 02:47:49 -07:00
..
2012-07-10 23:13:45 -07:00
2012-05-15 20:23:16 -04:00
2012-08-14 14:33:32 -07:00
2012-07-10 23:13:45 -07:00
2012-08-15 21:36:30 -07:00
2012-07-19 11:17:30 -07:00
2012-08-08 16:04:04 -07:00
2012-08-15 21:36:31 -07:00
2012-08-15 15:09:41 -07:00
2012-08-20 02:47:49 -07:00
2012-07-10 22:36:17 +02:00
2012-08-02 09:19:20 -07:00
2012-08-20 02:37:29 -07:00
2012-07-10 23:13:45 -07:00
2012-08-15 21:36:31 -07:00
2012-07-31 14:41:38 -07:00
2012-05-21 20:27:36 -07:00
2012-05-09 20:49:19 -04:00
2012-07-19 10:48:00 -07:00
2012-07-16 22:52:02 -07:00
2012-08-20 02:44:29 -07:00
2012-08-14 17:02:12 -07:00
2012-07-19 10:48:00 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-08-15 21:36:31 -07:00
2012-05-17 18:45:20 -04:00
2012-08-15 21:36:31 -07:00
2012-08-02 13:49:38 -04:00
2012-07-12 07:54:45 -07:00
2012-08-20 02:44:29 -07:00
2012-03-22 19:29:57 -04:00
2012-07-24 00:01:30 -07:00
2012-04-20 21:22:30 -04:00
2012-07-20 12:30:48 -04:00
2012-07-27 13:45:51 -07:00
2012-08-20 02:37:29 -07:00
2012-06-17 16:29:38 -07:00
2012-07-23 01:01:44 -07:00
2012-06-06 15:18:17 -04:00
2012-04-20 21:22:30 -04:00
2012-07-10 23:56:33 -07:00
2012-08-16 14:54:44 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 19:25:39 -07:00
2012-07-13 19:34:43 -04:00
2012-08-01 10:26:23 -07:00
2012-07-24 13:55:21 -07:00
2012-04-15 12:44:40 -04:00
2012-08-06 14:29:58 -04:00
2012-07-10 23:13:45 -07:00
2012-08-02 00:19:17 -07:00
2012-07-22 17:50:49 -07:00
2012-05-21 12:50:12 -07:00
2012-05-18 01:35:08 -04:00
2010-10-15 15:53:27 +02:00
2012-08-15 21:36:31 -07:00
2012-05-15 20:14:35 -04:00