projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
It's all relative -- better handling of tainted directories
[p5sagit/p5-mst-13.2.git]
/
perlio.c
diff --git
a/perlio.c
b/perlio.c
index
c15e7a8
..
2f8820e
100644
(file)
--- a/
perlio.c
+++ b/
perlio.c
@@
-5148,6
+5148,8
@@
PerlIO_vsprintf(char *s, int n, const char *fmt, va_list ap)
{
dTHX;
const int val = my_vsnprintf(s, n > 0 ? n : 0, fmt, ap);
+ PERL_UNUSED_CONTEXT;
+
#ifndef PERL_MY_VSNPRINTF_GUARDED
if (val < 0 || (n > 0 ? val >= n : 0)) {
Perl_croak(aTHX_ "panic: my_vsnprintf overflow in PerlIO_vsprintf\n");