Change 27448 by [EMAIL PROTECTED] on 2006/03/09 20:48:50
The Coverity audit is upset that the scream_olds variable is not
directly initialized, although it is likely initialized after
another variable takes a reference to it.
Affected files ...
... //depot/perl/regexec.c#375 edit
Differences ...
==== //depot/perl/regexec.c#375 (text) ====
Index: perl/regexec.c
--- perl/regexec.c#374~27136~ 2006-02-09 08:49:32.000000000 -0800
+++ perl/regexec.c 2006-03-09 12:48:50.000000000 -0800
@@ -1632,7 +1632,7 @@
I32 dontbother = 0; /* how many characters not to try at end */
I32 end_shift = 0; /* Same for the end. */ /* CC */
I32 scream_pos = -1; /* Internal iterator of scream. */
- char *scream_olds;
+ char *scream_olds = NULL;
SV* oreplsv = GvSV(PL_replgv);
const bool do_utf8 = DO_UTF8(sv);
const I32 multiline = prog->reganch & PMf_MULTILINE;
End of Patch.