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

open-quantum-safe / liboqs / 43659026107
80%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 01:41AM UTC
Jobs 3
Files 1918
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: 84.096% (+4.3%) from 79.752%
43659026107

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>

2 of 7 new or added lines in 2 files covered. (28.57%)

25 existing lines in 10 files now uncovered.

147344 of 175210 relevant lines covered (84.1%)

15164127.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
74.75
tests/vectors_sig.c
1
59.65
tests/vectors_kem.c

Coverage Regressions

Lines Coverage ∆ File
8
97.57
-2.43% src/sig/mqom/mqom_mqom_common/fields_ref.h
5
94.44
-4.63% src/kem/kyber/pqcrystals-kyber_kyber768_ref/indcpa.c
4
66.51
-0.93% tests/test_sig.c
2
83.81
-0.57% src/sig/mayo/pqmayo_mayo-1_avx2/mayo.c
1
96.51
0.17% src/sig/falcon/pqclean_falcon-1024_clean/keygen.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
92.08
-0.99% src/sig/qruov/qruov_qruov_common/linsys.c
1
95.55
-0.09% src/sig/falcon/pqclean_falcon-padded-512_clean/keygen.c
Jobs
ID Job ID Ran Files Coverage
1 x64-generic - 43659026107.1 15 Nov 2026 02:14AM UTC 1181
86.34
GitHub Action Run
2 x64-distbuild - 43659026107.2 15 Nov 2026 01:52AM UTC 1917
58.0
GitHub Action Run
3 arm64-distbuild - 43659026107.3 15 Nov 2026 01:41AM UTC 1917
57.89
GitHub Action Run
Source Files on build 43659026107
  • Tree
  • List 1918
  • Changed 549
  • Source Changed 0
  • Coverage Changed 549
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43659026107
  • 9f027e7c on github
  • Prev Build on main (#42725440927)
  • Next Build on main (#43747364420)
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