develooper Front page | perl.perl5.porters | Postings from September 2017

5.26.1 sanitize=undefined

Thread Next
From:
Nigel Horne
Date:
September 27, 2017 22:34
Subject:
5.26.1 sanitize=undefined
Message ID:
e7ba7fd2-df17-de0c-3700-c0c07d6479c6@bandsman.co.uk
I've built a Perl5.26.1 with -fsanitized=undefined and I keep seeing this:

pp_hot.c:4143:6: runtime error: null pointer passed as argument 1, which 
is declared to never be null

Here is the errant line: a call to Copy() within PP():

             if (UNLIKELY(items - 1 > AvMAX(av))) {
                 SV **ary = AvALLOC(av);
                 Renew(ary, items, SV*);
                 AvMAX(av) = items - 1;
                 AvALLOC(av) = ary;
                 AvARRAY(av) = ary;
             }

             Copy(MARK+1,AvARRAY(av),items,SV*);  /* 
<<<<<<<<<<<<<<<<<<<<< */
             AvFILLp(av) = items - 1;
         }

Where should I report the problem, or will this post suffice?

-Nigel

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About