This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
assert() that itersvp is non-NULL.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 3 Feb 2016 13:11:14 +0000 (08:11 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 7 Feb 2016 13:23:46 +0000 (08:23 -0500)
commit4b5c941e759b9302cc3663703de38cb61f3554db
treea0edb975713e68c82a21ba54255867f14170eedd
parent71d19c377e6e65ed965e367cd3b5d2233e093857
assert() that itersvp is non-NULL.

Coverity CID 135011 Explicit null derefenced

In pp_iter() there are multiple derefers of *itersvp, but at the
setting of itersvp the CxITERVAR() can return NULL, add an assert()
to catch the badness in debug builds (as the Coverity builds are).
pp_hot.c