[PATCH 0/3] Headers fix plus other minor fixes

Peter Wu peter at lekensteyn.nl
Tue Jun 24 14:13:35 PDT 2014


Hi,

While building Wireshark with clang, I noticed a defect in the attr.h header
which breaks a -Werror build. While fixing that, I noticed two other minor
defects which were caught by Clang static analyzer.

Please have a look at them.

Kind regards,
Peter

Peter Wu (3):
  u32: prevent memcpy from NULL
  attr: prevent garbage return value for NULL param
  attr: fix compile warning in headers

 include/netlink/attr.h | 2 +-
 lib/attr.c             | 2 +-
 lib/route/cls/u32.c    | 9 ++++++---
 3 files changed, 8 insertions(+), 5 deletions(-)

-- 
2.0.0




More information about the libnl mailing list