dissector: ip_ipv6_mobility_hdr: NULL check before dereference
commita723f99244edfa7e9c9cfc61130570584128ccf4
authorTobias Klauser <tklauser@distanz.ch>
Sun, 12 May 2013 10:28:45 +0000 (12 12:28 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Sun, 12 May 2013 10:31:03 +0000 (12 12:31 +0200)
tree999a5cb8a7eb00486ad476c0f841e4dd31673034
parent6ce6b8b3d9ad6263848d6003b66c0a8f9bd80c4d
dissector: ip_ipv6_mobility_hdr: NULL check before dereference

Check return value of pkt_pull before dereferencing it. This was
discovered by the coverity scanner.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_ipv6_mobility_hdr.c