if its caller re_intuit_start() was entered with strend == strpos
because end_shift ended up as -1. The patch ain't necessarily
correct but least the core dump is avoided.
p4raw-id: //depot/cfgperl@3671
}
restart:
+ if (end_shift < 0)
+ end_shift = 0; /* can happen when strend == strpos */
if (flags & REXEC_SCREAM) {
SV *c = prog->check_substr;
char *strbeg = SvPVX(sv); /* XXXX Assume PV_force() on SCREAM! */