mbox series

[OpenWrt-Devel,ucert,0/9] GitLab CI, tests, fixes and improvements

Message ID 20191219220421.22206-1-ynezz@true.cz
Headers show
Series GitLab CI, tests, fixes and improvements | expand

Message

Petr Štetiar Dec. 19, 2019, 10:04 p.m. UTC
Hi,

this patch series adds GitLab CI support, unit tests passed through Valgrind,
unit tests covered with Clang's {Address,Leak,UndefinedBehavior}Sanitizer and
few fixes uncovered by the new test suite.

Petr Štetiar (9):
  cmake: add proper include and library dependencies
  add initial GitLab CI support
  cmake: enable hardening compiler flags and fix the reported issues
  cmake: reindent the file
  cmake: split usign bits into static library
  add cram based unit tests
  fix possibly garbage value returned in cert_process_revoker
  fix leaking memory in cert_dump_blob
  fix certificate blob parsing vulnerability by using blob_parse_untrusted

 .gitlab-ci.yml                    |   6 +++
 CMakeLists.txt                    |  48 +++++++++++++++++-----
 tests/CMakeLists.txt              |  14 +++++++
 tests/cram/CMakeLists.txt         |  21 ++++++++++
 tests/cram/inputs/invalid.ucert   | Bin 0 -> 362 bytes
 tests/cram/inputs/key-build.ucert | Bin 0 -> 356 bytes
 tests/cram/test_ucert.t           |  65 ++++++++++++++++++++++++++++++
 ucert.c                           |  31 +++++++++-----
 8 files changed, 165 insertions(+), 20 deletions(-)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 tests/CMakeLists.txt
 create mode 100644 tests/cram/CMakeLists.txt
 create mode 100644 tests/cram/inputs/invalid.ucert
 create mode 100644 tests/cram/inputs/key-build.ucert
 create mode 100644 tests/cram/test_ucert.t