commit 2172277614be3c3bdf84a91121055e61881ee503
parent e283d072205ffa1b07b8d02a7a9891f901f5c358
Author: William Casarin <jb55@jb55.com>
Date: Sun, 4 Jun 2023 13:33:45 -0700
Fix crash when printing large floats
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -1863,7 +1863,7 @@ static const char *show_instr(struct instr *instr)
{
struct cursor buf;
static char buffer[64];
- static char tmp[32];
+ static char tmp[128];
int len, i;
buffer[sizeof(buffer)-1] = 0;