Repository navigation
Conversation
… tests Signed-off-by: Lusoris <lusoris@proton.me>
Signed-off-by: Lusoris <lusoris@proton.me>
9 of 14 tasks
Contributor
Author
|
Superseded by #2671, the same fix rebased on current master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
Cppcheckjob of the Lint workflow is red on master (runs 37825729216 ona6d8d22b4, 37831307977 on8493fcd9d). The report artifact lists twouninitvarfindings, both incore/test/test_motion_window_incremental.c:sad(lines 256 and 289) is passed tomwi_values_match()after a loop that fills it element by element, and the tool cannot see that every element read has been written.sadis now zero-initialised in both functions that declare it. The gate and the suppression list are unchanged.Type
fix— bug fixtest— test-onlyChecklist
git commit -s; fix a branch withgit rebase --signoff origin/master). See DCO sign-off.make format && make lintis green locally.Bug-status hygiene (ADR-0165)
docs/state.mdupdated in this PR with a row in Recently closed.Netflix golden-data gate (ADR-0024)
assertAlmostEqual(...)score in the Netflix golden Python tests.Deep-dive deliverables (ADR-0108)
AGENTS.mdinvariant note — no rebase-sensitive invariants.Reproducer
gh run download 37825729216 -R VMAFx/vmafx -n cppcheck-report # two uninitvar findings cppcheck --enable=warning,performance,portability --check-level=exhaustive --inline-suppr \ --library=build/cppcheck-posix-vmafx.cfg --library=scripts/ci/cppcheck-public-entrypoints.cfg \ --suppressions-list=.cppcheck-suppressions.txt --project=build/compile_commands.json --error-exitcode=1I could not reproduce the two findings locally: cppcheck 2.22.0 (host, full compile database) and 2.13.0 (Ubuntu 24.04 container, single file with the CI defines) both report nothing for this file. The proof is this pull request's own
Cppcheckjob, which runs the CI configuration.Known follow-ups
None.