diff options
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8891,8 +8891,10 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV /* calculate width before utf8_upgrade changes it */ have = esignlen + zeros + elen; +#ifdef PERL_MALLOC_WRAP if (have < zeros) Perl_croak_nocontext(PL_memory_wrap); +#endif if (is_utf8 != has_utf8) { if (is_utf8) { |