diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-29 13:24:36 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-29 13:51:47 -0400 |
commit | 9959d4399a47965721a6f94139024db12257f14f (patch) | |
tree | d1379c3384a475a569f904d04f5e317857482a00 /pp_sys.c | |
parent | 14081f883633f2e819fa9af1ab1da37ee57664b9 (diff) | |
download | perl-9959d4399a47965721a6f94139024db12257f14f.tar.gz |
Followup to 316ebaf (aka perl #121894).
Adding asserts to more spots.
Fix for Coverity perl5 CIDs 28962,28968,28969:
CID ...: Dereference after null check (FORWARD_NULL)
var_deref_op: Dereferencing null pointer p->q
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3406,6 +3406,7 @@ PP(pp_fttext) const char *file; int fd; + assert(sv); sv_setpv(PL_statname, SvPV_nomg_const_nolen(sv)); really_filename: file = SvPVX_const(PL_statname); |