Commit f60e97d
committed
Unpoison GetPubKey output for MSan
secp256k1_ec_pubkey_serialize fills the CPubKey buffer from libsecp, which
runs without MemorySanitizer instrumentation. Mark the entire buffer
initialized so downstream Schnorr/XOnly conversions do not trip MSan during
the roundtrip handshake test.
Test: cmake --build build --target test_sv2 --config Release
Assisted-by: GitHub Copilot
Assisted-by: OpenAI GPT-5-Codex1 parent a8a230a commit f60e97d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
0 commit comments