diff options
author | Zefram <zefram@fysh.org> | 2017-12-08 00:03:16 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2017-12-08 00:06:48 +0000 |
commit | 9291839cdbaa256b811274b66910a960a7f3b06d (patch) | |
tree | ae05f56a8977527c78028617a306273de4354777 /toke.c | |
parent | 19a498a461d7c81ae3507c450953d1148efecf4f (diff) | |
download | perl-9291839cdbaa256b811274b66910a960a7f3b06d.tar.gz |
assert min identifier length in S_pending_ident()
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8943,6 +8943,7 @@ S_pending_ident(pTHX) DEBUG_T({ PerlIO_printf(Perl_debug_log, "### Pending identifier '%s'\n", PL_tokenbuf); }); + assert(tokenbuf_len >= 2); /* if we're in a my(), we can't allow dynamics here. $foo'bar has already been turned into $foo::bar, so |