diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index a30ffb7a9..a98cc21f4 100644 --- a/src/expr.c +++ b/src/expr.c @@ -432,6 +432,8 @@ docolon (sv, pv) tostring (pv); len = strlen (pv->u.s); + bzero (&re_buffer, sizeof (re_buffer)); + bzero (&re_regs, sizeof (re_regs)); re_buffer.allocated = 2 * len; re_buffer.buffer = (unsigned char *) xmalloc (re_buffer.allocated); re_buffer.translate = 0; |