diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Opcode/Opcode.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Opcode/Opcode.xs b/ext/Opcode/Opcode.xs index 538f0ecf30..9d4b726536 100644 --- a/ext/Opcode/Opcode.xs +++ b/ext/Opcode/Opcode.xs @@ -117,7 +117,7 @@ new_opset(old_opset) } else { opset = newSV(opset_len); - Zero(SvPVX(opset), opset_len, char); + Zero(SvPVX(opset), opset_len + 1, char); SvCUR_set(opset, opset_len); (void)SvPOK_only(opset); } |