summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-01-08 19:11:52 -0700
committerKarl Williamson <khw@cpan.org>2018-01-30 22:12:46 -0700
commitad85be6404c23276f74e52ac752c942700866285 (patch)
treec8068e726d0452b6cd98aaa2b3e50ef9acafeedd /regexec.c
parentb548543c4c65249f7979857ff3111c3f56f36745 (diff)
downloadperl-ad85be6404c23276f74e52ac752c942700866285.tar.gz
An empty string is a script_run, but marked INVALID
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index d11feabb6a..ae37c18b07 100644
--- a/regexec.c
+++ b/regexec.c
@@ -10360,7 +10360,7 @@ Perl_isSCRIPT_RUN(pTHX_ const U8 * s, const U8 * send, const bool utf8_target, S
bool retval = TRUE;
- assert(send > s);
+ assert(send >= s);
PERL_ARGS_ASSERT_ISSCRIPT_RUN;