diff options
-rw-r--r-- | sv.c | 2 | ||||
-rw-r--r-- | taint.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -13210,7 +13210,7 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p ? my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, fv) : my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, (double)fv)); #else - elen = my_sprintf(PL_efloatbuf, ptr, fv); + elen = my_snprintf(PL_efloatbuf, PL_efloatsize, ptr, fv); #endif GCC_DIAG_RESTORE; } @@ -122,7 +122,7 @@ Perl_taint_env(pTHX) while (1) { MAGIC* mg; if (i) - len = my_sprintf(name,"DCL$PATH;%d", i); + len = my_snprintf(name, sizeof name, "DCL$PATH;%d", i); svp = hv_fetch(GvHVn(PL_envgv), name, len, FALSE); if (!svp || *svp == &PL_sv_undef) break; |