This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PerlIO::Via: check arg is non-NULL before using it.
authorTony Cook <tony@develop-help.com>
Wed, 7 Aug 2019 04:58:14 +0000 (14:58 +1000)
committerTony Cook <tony@develop-help.com>
Wed, 7 Aug 2019 04:58:14 +0000 (14:58 +1000)
commit12e1284a67e5e3404c704c3f864749fd9f04c7c4
tree34e79a60e7f6e0fb2c0affc0b890daffc012bfc8
parentf7724052d1b8b75339f5ec2cc3d5b35ca5d130b5
PerlIO::Via: check arg is non-NULL before using it.

I can't find any code in core that ends up calling the _pushed handler
with arg == NULL, but PerlIO_push() is API, and there might be
CPAN or DarkPAN code out there that does, escpecially since there's
a check for arg being non-NULL further down.

CID 169261.
ext/PerlIO-via/via.xs