[ccan] [PATCH 0/7] Coverity

David Gibson david at gibson.dropbear.id.au
Mon Apr 3 21:11:05 AEST 2017


Since Emilio has set up ccan on Coverity Scan, here are some patches
making use of it.  The first updates our Travis configuration to push
builds to Coverity for analysis.  The rest fix some of the easier to
address bugs that Coverity located.

David Gibson (7):
  .travis.yml: Add support for Coverity Scan
  failtest: Remove memory leak
  tools: Remove fd leak
  crypto/hmac_sha256: Remove undefined memset()
  crypto/ripemd160: Correct badly sized union member
  ccanlint: Fix leak in do_reduce_features()
  net: Add check for failure of setsockopt()

 .travis.yml                            | 17 +++++++++++++++++
 ccan/crypto/hmac_sha256/hmac_sha256.c  |  4 +++-
 ccan/crypto/ripemd160/ripemd160.h      |  2 +-
 ccan/failtest/failtest.c               |  4 +++-
 ccan/net/net.c                         |  4 +++-
 tools/ccanlint/tests/reduce_features.c |  1 +
 tools/depends.c                        |  4 +++-
 7 files changed, 31 insertions(+), 5 deletions(-)

-- 
2.9.3



More information about the ccan mailing list