~ chicken-core (chicken-5) 48be1ffb27dc8ef512012ff8cc27affcdfe531cf
commit 48be1ffb27dc8ef512012ff8cc27affcdfe531cf
Author: Peter Bex <peter@more-magic.net>
AuthorDate: Mon Aug 8 19:40:03 2016 +0200
Commit: Peter Bex <peter@more-magic.net>
CommitDate: Mon Aug 8 19:40:26 2016 +0200
Fix C_bitwise_xor allocation buffer copy/paste mistake; we only need C_SIZEOF_BIGNUM_WRAPPER, not that much more
diff --git a/runtime.c b/runtime.c
index 1e31eb97..5c542d38 100644
--- a/runtime.c
+++ b/runtime.c
@@ -6491,7 +6491,7 @@ void C_ccall C_bitwise_xor(C_word c, C_word *av)
/* C_word closure = av[ 0 ]; */
C_word k = av[ 1 ];
C_word next_val, result, prev_result;
- C_word ab[2][C_SIZEOF_STRUCTURE(3) * 3 + C_SIZEOF_FIX_BIGNUM * 4], *a;
+ C_word ab[2][C_SIZEOF_BIGNUM_WRAPPER], *a;
c -= 2;
av += 2;
Trap