Re: NULL pointer dereferences

2004-02-20 Thread Colin Percival
At 01:45 20/02/2004, Ted Unangst wrote: Some more. There are bugs where the code checks for NULL after using the pointer. Usually means the check should be earlier, or is unnecessary. One false alarm here: uni_msg_pack_mbuf(msg, ...) won't dereference msg if it is NULL. Apart from that I've

NULL pointer dereferences

2004-02-19 Thread Ted Unangst
Some more. There are bugs where the code checks for NULL after using the pointer. Usually means the check should be earlier, or is unnecessary. # New errors. # - [UNINSPECTED] X