Commit a8a230a
committed
Unpoison EllSwift decode for MSan
Mark the serialized compressed pubkey produced by secp256k1_ec_pubkey_serialize as initialized when building with MemorySanitizer. The EllSwift decode path previously triggered a use-of-uninitialized-value in the fuzz harness because libsecp256k1 is built without instrumentation.
Test: cmake --build build --target test_sv2 --config Release
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5-Codex1 parent 7642532 commit a8a230a
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
378 | 384 | | |
379 | 385 | | |
380 | 386 | | |
| |||
0 commit comments