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

wegamekinglc / Derivatives-Algorithms-Lib / 28696575569
81%
master: 85%

Build:
Build:
LAST BUILD BRANCH: codex/fix-msvc-utf8-charset
DEFAULT BRANCH: master
Ran 04 Jul 2026 05:48AM UTC
Jobs 1
Files 221
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

04 Jul 2026 05:40AM UTC coverage: 81.484% (+0.004%) from 81.48%
28696575569

Pull #197

github

wegamekinglc
Fix out-of-bounds write in dense SymmetricDecomposition::QForm

SymmetricDecomposition_::QForm (dal-cpp/dal/math/matrix/sparse.cpp) declared
its work vector 'wij' empty and then passed it to Solve, whose dense
Cholesky XSolve_af implementation writes (*x)[ii] for ii in [0, Size())
without resizing. Any non-trivial dense QForm call therefore wrote off
the end of wij, corrupting memory.

The fix mirrors the banded QForm override (dal-cpp/dal/math/matrix/
banded.cpp), which already pre-sizes its work vectors to Size() and
REQUIREs j_mat.Cols() == Size(). Two changes only: add the REQUIRE,
and Vector_<>
 wij; -> Vector_<>
 wij(Size());. XSolve_af and the
caller-side pre-size convention are left untouched.

Adds a regression test (dal-cpp/tests/math/matrix/test_sparse_qform.cpp)
that exercises the dense path end-to-end via CholeskyDecomposition(W)
(which returns a Cholesky_ that does not override QForm) and checks
dst == J W^{-1} J^T against an independent per-row Solve reference.
Before the fix this test aborts (OOB); after, it passes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Pull Request #197: fix: out-of-bounds write in dense SymmetricDecomposition::QForm

2 of 2 new or added lines in 1 file covered. (100.0%)

6368 of 7815 relevant lines covered (81.48%)

3317104.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28696575569.1 04 Jul 2026 05:48AM UTC 221
81.48
GitHub Action Run
Source Files on build 28696575569
  • Tree
  • List 221
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28696575569
  • Pull Request #197
  • PR Base - master (#28696267448)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc