Change 28020 by [EMAIL PROTECTED] on 2006/04/29 23:35:52 Coverity disliked us passing a negative length to vsnprintf().
Affected files ... ... //depot/perl/perlio.c#322 edit Differences ... ==== //depot/perl/perlio.c#322 (text) ==== Index: perl/perlio.c --- perl/perlio.c#321~28008~ 2006-04-28 13:40:41.000000000 -0700 +++ perl/perlio.c 2006-04-29 16:35:52.000000000 -0700 @@ -5143,7 +5143,7 @@ { dVAR; #ifdef USE_VSNPRINTF - const int val = vsnprintf(s, n, fmt, ap); + const int val = vsnprintf(s, n > 0 ? n : 0, fmt, ap); #else const int val = vsprintf(s, fmt, ap); #endif /* #ifdef USE_VSNPRINTF */ End of Patch.