We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 867b920 commit bb32920Copy full SHA for bb32920
secp256k1-sys/depend/scratch_impl.h.patch
@@ -15,7 +15,7 @@
15
< static void secp256k1_scratch_destroy(const secp256k1_callback* error_callback, secp256k1_scratch* scratch) {
16
< if (scratch != NULL) {
17
< VERIFY_CHECK(scratch->alloc_size == 0); /* all checkpoints should be applied */
18
-< if (memcmp(scratch->magic, "scratch", 8) != 0) {
+< if (secp256k1_memcmp_var(scratch->magic, "scratch", 8) != 0) {
19
< secp256k1_callback_call(error_callback, "invalid scratch space");
20
< return;
21
< }
0 commit comments