diff options
author | Marc-Philip <marc-philip.werner@sap.com> | 2018-04-08 12:15:29 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-04-08 12:25:09 -0600 |
commit | 62e6b70574842d7f2c547d33c85c50228522f685 (patch) | |
tree | 6b7bd22ba67aae4e050daf78b5cb3eb55dfab88f /pp.c | |
parent | 72fb1fd2404085fdd14cea298599a15c6f9412d4 (diff) | |
download | perl-62e6b70574842d7f2c547d33c85c50228522f685.tar.gz |
PATCH: [perl #133074] 5.26.1: some coverity fixes
we have some coverity code scans here. They have found this
uninilialized variable in pp.c and the integer overrun in toke.c.
Though it might be possible that these are false positives (no
reasonable control path gets there), it's good to mute the scan here to
see the real problems easier.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3727,6 +3727,7 @@ PP(pp_ucfirst) if (! slen) { /* If empty */ need = 1; /* still need a trailing NUL */ ulen = 0; + *tmpbuf = '\0'; } else if (DO_UTF8(source)) { /* Is the source utf8? */ doing_utf8 = TRUE; |