summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-13 17:20:18 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-13 17:20:18 +0200
commit8b8244232220aef30417b8bc712e45542f5504db (patch)
tree61695b30a446fe47c9ffd2e11eae10b5036a2cf6 /proc.c
parent0cc5ca825656dbb2dc91fb130924abe66c97b254 (diff)
dissector: icmpv6: Fix possible null pointer dereferences
The Coverity scanner found several possible null pointer dereferences in the ICMPv6 dissector. These are all related to not checking the return value of pkt_pull(). Sometimes pkt_pull(()) is called iteratively based on a length value in the encountered packet, so this could possibly be hit in case an invalid packet is crafted accordingly. Fix all by checking the return value of pkt_pull() consistently. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proc.c')
0 files changed, 0 insertions, 0 deletions
field is of type const, so add const to declaration of device_type structure. File size before: text data bss dec hex filename 19278 3199 16 22493 57dd nvdimm/namespace_devs.o File size after: text data bss dec hex filename 19929 3160 16 23105 5a41 nvdimm/namespace_devs.o Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/net/netns/ipv6.h')