Eric Sesterhenn 3ac90216ab [TIPC] Fix for NULL pointer dereference
This fixes a bug spotted by the coverity checker, bug id #366. If
(mod(seqno - prev) != 1) we set buf to NULL, dereference it in the for
case, and set it to whatever value happes to be at adress 0+next, if it
happens to be non-zero, we even stay in the loop. It seems that the author
intended to break there.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-25 23:41:15 -07:00
..
2006-05-16 15:23:40 -07:00
2006-06-23 02:07:36 -07:00
2006-06-17 21:30:16 -07:00
2006-06-23 02:07:38 -07:00
2006-06-17 21:29:45 -07:00
2005-08-29 15:31:14 -07:00
2006-06-17 21:29:19 -07:00
2006-06-20 03:26:14 -07:00
2006-01-12 14:06:31 -08:00
2005-04-16 15:20:36 -07:00