lq: make sure last_ip != NULL
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:45:29 +0000 (14:45 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:49:41 +0000 (14:49 +0200)
commit69a35cac6a14e7c7c4b3ecc39a1ccedc0ed850a8
treed27ff4b24225c14d73e8338dc54e5a0ffd9ffe45
parent75afafa79a862a2ac2ec62f9438ab5e941086418
lq: make sure last_ip != NULL

Coverity:
CID 739653 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
At (11): Passing null pointer "last_ip" to function
         "calculate_border_flag(void *, void *)", which dereferences it.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/lq_packet.c