Commit 7642532
committed
Unpoison secp outputs for MSan
The EllSwift and BIP324 ECDH helpers in key.cpp return buffers filled
by libsecp256k1, which is built without sanitizer instrumentation.
Mark those outputs initialized under MemorySanitizer so downstream
handshake code no longer sees spurious uninitialized-value reports.
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5-Codex1 parent 4527acd commit 7642532
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
321 | 325 | | |
322 | 326 | | |
323 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
| |||
341 | 348 | | |
342 | 349 | | |
343 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
344 | 354 | | |
345 | 355 | | |
346 | 356 | | |
| |||
0 commit comments