[Libguestfs] [PATCH 0/2] Fix errors found by Clang static analyzer

Peter Wu peter at lekensteyn.nl
Thu Aug 7 15:59:48 UTC 2014


Hi,

Here is one trivial initialization fix and another patch to convert a huge macro
to an inline function. The result of the expansion would show up in an assertion
which triggered a -Woverlength-strings warning.

Peter Wu (2):
  Fix garbage return value on error
  Fix overly long assertion string

 lib/hivex-internal.h | 28 ++++++++++++++++------------
 lib/node.c           | 18 +++++++++---------
 lib/utf16.c          |  2 +-
 lib/value.c          | 14 +++++++-------
 lib/write.c          | 22 +++++++++++-----------
 5 files changed, 44 insertions(+), 40 deletions(-)

-- 
2.0.2




More information about the Libguestfs mailing list