• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

open-quantum-safe / liboqs / 43471410969
80%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 05:29PM UTC
Jobs 3
Files 2177
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2026 05:17PM UTC coverage: 79.754% (+0.002%) from 79.752%
43471410969

push

github

web-flow
Add test checking for  NULL guards after `OQS_MEM_malloc` calls (#2633)

* Added missing NULL checks after malloc

Used Claude code to search for `OQS_MEM_malloc` and similar calls where
the output was not being checked for NULL. Added the checks where
appropriate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Owen Waldron <owen.waldron@uwaterloo.ca>

* Added `test_malloc_null_check` test.

Created the `test_malloc_null_check` to check that `OQS_MEM_*` calls
are immediately followed by NULL checks, where appropriate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Owen Waldron <owen.waldron@uwaterloo.ca>

* Added CodeQL query to check OQS_MEM allocations for NULL

Added `.github/codeql/queries/malloc-null-check.ql`, which reports any
OQS_MEM_* result that is used before it is tested against NULL.

Upstream code is skipped through `mallocCheckIgnoredDir()`, and a
single allocation can opt out with `// IGNORE malloc-check`.

The CodeQL workflow now builds XMSS and LMS, with stateful key and
signature generation so that the query also covers that code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Owen Waldron <owen.waldron@uwaterloo.ca>

---------

Signed-off-by: Owen Waldron <owen.waldron@uwaterloo.ca>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

169960 of 213106 relevant lines covered (79.75%)

5803402.57 hits per line

Coverage Regressions

Lines Coverage ∆ File
59
0.0
-100.0% src/kem/bike/additional_r4/decode_avx512.c
46
0.0
-100.0% src/kem/bike/additional_r4/gf2x_mul_avx512.c
39
0.0
-65.0% src/common/sha3/avx512vl_sha3.c
37
0.0
-100.0% src/kem/bike/additional_r4/gf2x_ksqr_avx512.c
27
0.0
-100.0% usr/lib/gcc/x86_64-linux-gnu/15/include/avx512fintrin.h
22
0.0
-100.0% src/kem/bike/additional_r4/sampling_avx512.c
18
0.0
-75.0% src/common/sha3/avx512vl_sha3x4.c
18
70.59
-26.47% src/kem/ml_kem/mlkem-native_ml-kem-768_aarch64/mlkem/src/sampling.c
17
91.04
-0.9% src/sig/sqisign/the-sqisign_sqisign_common/qlapoty.c
5
0.0
-100.0% usr/lib/gcc/x86_64-linux-gnu/15/include/avx512bwintrin.h
5
94.44
-4.63% src/kem/kyber/pqcrystals-kyber_kyber768_ref/indcpa.c
2
83.81
-0.57% src/sig/mayo/pqmayo_mayo-1_avx2/mayo.c
2
64.98
0.0% src/sig/ml_dsa/mldsa-native_ml-dsa-87_aarch64/mldsa/src/sign.c
2
94.74
-3.51% src/sig/ml_dsa/mldsa-native_ml-dsa-44_x86_64/mldsa/src/packing.c
2
64.9
-0.46% src/sig/ml_dsa/mldsa-native_ml-dsa-65_aarch64/mldsa/src/sign.c
1
96.25
-0.09% src/sig/falcon/pqclean_falcon-1024_clean/keygen.c
1
94.74
0.0% src/sig/ml_dsa/mldsa-native_ml-dsa-65_x86_64/mldsa/src/packing.c
1
76.7
-0.49% src/sig/falcon/pqclean_falcon-1024_clean/vrfy.c
1
96.15
-3.85% src/sig/mayo/pqmayo_mayo-1_avx2/arithmetic.c
1
76.99
-0.88% src/kem/hqc/pqc-hqc_hqc-3_ref/vector.c
1
94.74
-1.75% src/sig/ml_dsa/mldsa-native_ml-dsa-44_aarch64/mldsa/src/packing.c
Jobs
ID Job ID Ran Files Coverage
1 x64-generic - 43471410969.1 13 Nov 2026 05:36PM UTC 1013
84.32
GitHub Action Run
2 arm64-distbuild - 43471410969.2 13 Nov 2026 05:36PM UTC 1433
59.87
GitHub Action Run
3 x64-distbuild - 43471410969.3 13 Nov 2026 05:28PM UTC 1749
53.41
GitHub Action Run
Source Files on build 43471410969
  • Tree
  • List 2177
  • Changed 54
  • Source Changed 0
  • Coverage Changed 54
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43471410969
  • 9f027e7c on github
  • Prev Build on main (#42725440927)
  • Next Build on main (#43659026107)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc