This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a change to branch hotfix/utils_coverity_fix
in repository https://gitbox.apache.org/repos/asf/celix.git
from a027f6df Fix Coverity 211184 Dereference after null check.
add 717704d7 Fix Coverity 200291 Unchecked return value.
add 479ccf06 Fix Coverity 200287 Untrusted loop bound.
add 777bb1c2 Fix Coverity 185518 Argument cannot be negative.
No new revisions were added by this update.
Summary of changes:
libs/error_injector/CMakeLists.txt | 1 +
.../{eventfd => ifaddrs}/CMakeLists.txt | 12 +++---
.../asprintf_ei.h => ifaddrs/include/ifaddrs_ei.h} | 10 +++--
.../asprintf_ei.h => ifaddrs/src/ifaddrs_ei.cc} | 22 +++++-----
libs/utils/gtest/CMakeLists.txt | 3 +-
.../gtest/src/IpUtilsErrorInjectionTestSuite.cc | 47 ++++++++++++++++++++++
libs/utils/private/test/ip_utils_test.cpp | 6 ++-
libs/utils/src/ip_utils.c | 17 ++++++--
libs/utils/src/properties.c | 2 +-
9 files changed, 93 insertions(+), 27 deletions(-)
copy libs/error_injector/{eventfd => ifaddrs}/CMakeLists.txt (72%)
copy libs/error_injector/{asprintf/include/asprintf_ei.h =>
ifaddrs/include/ifaddrs_ei.h} (87%)
copy libs/error_injector/{asprintf/include/asprintf_ei.h =>
ifaddrs/src/ifaddrs_ei.cc} (74%)
create mode 100644 libs/utils/gtest/src/IpUtilsErrorInjectionTestSuite.cc