Skip to content

Commit

Permalink
Increase numconv print buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hf committed Jan 8, 2020
1 parent f16266b commit 33065f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-input/duk_numconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ typedef struct {
#if defined(DUK_USE_DEBUG_LEVEL) && (DUK_USE_DEBUG_LEVEL >= 2)
DUK_LOCAL void duk__bi_print(const char *name, duk__bigint *x) {
/* Overestimate required size; debug code so not critical to be tight. */
char buf[DUK__BI_MAX_PARTS * 9 + 64];
char buf[DUK__BI_MAX_PARTS * 9 + 64 + 1];
char *p = buf;
duk_small_int_t i;

Expand Down

0 comments on commit 33065f9

Please sign in to comment.