~ chicken-core (chicken-5) a471d9567c197565838257e278443fc231c267c1


commit a471d9567c197565838257e278443fc231c267c1
Author:     Jim Ursetto <zbigniewsz@gmail.com>
AuthorDate: Thu Jan 12 23:06:35 2012 -0600
Commit:     Christian Kellermann <ckeen@pestilenz.org>
CommitDate: Fri Jan 13 09:22:07 2012 +0100

    Fix stack alloc size in C_callback
    
    Signed-off-by: Christian Kellermann <ckeen@pestilenz.org>

diff --git a/runtime.c b/runtime.c
index 83da18cd..58f61643 100644
--- a/runtime.c
+++ b/runtime.c
@@ -1782,7 +1782,7 @@ C_word C_fcall C_callback(C_word closure, int argc)
 {
   jmp_buf prev;
   C_word 
-    *a = C_alloc(2),
+    *a = C_alloc(3),
     k = C_closure(&a, 2, (C_word)callback_return_continuation, C_SCHEME_FALSE);
   int old = chicken_is_running;
 
Trap