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

Petr Štetiar ynezz at true.cz
Thu Dec 19 17:04:12 EST 2019


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


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list