1
0
Fork 0
mirror of https://github.com/imjasonh/rustvulncheck synced 2026-07-08 04:08:07 +00:00
No description
Find a file
Claude 00c14b043f
Fix fn context lost across consecutive hunks in same method
When a multi-hunk diff has consecutive hunks in the same function,
git may show the impl block (not the fn) in the second hunk header.
Previously this reset current_context_fn to None, causing body-only
changes to be silently dropped.

Now hunk headers with impl but no fn preserve the existing fn context.
This fixes cases like libcrux-sha3's squeeze() where the actual
vulnerability fix (loop index change) was missed because the second
hunk header showed `impl KeccakXofState` instead of `fn squeeze`.

https://claude.ai/code/session_01AeNG3herWfKhos9uZVUY5d
2026-03-25 02:08:15 +00:00
.github/workflows Add CI workflow for tests and enrichment dry-run 2026-03-25 01:34:22 +00:00
src Fix fn context lost across consecutive hunks in same method 2026-03-25 02:08:15 +00:00
tests Fix advisory parsing for .md format and suppress compiler warnings 2026-03-25 01:52:22 +00:00
.gitignore Add Phase 1: Offline Database Enrichment pipeline 2026-03-25 01:28:25 +00:00
Cargo.lock Add Phase 1: Offline Database Enrichment pipeline 2026-03-25 01:28:25 +00:00
Cargo.toml Add Phase 1: Offline Database Enrichment pipeline 2026-03-25 01:28:25 +00:00