The regexec.c change of #3606 caused a core dump in fbm_instr()
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 14 Jul 1999 16:22:39 +0000 (16:22 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 14 Jul 1999 16:22:39 +0000 (16:22 +0000)
commit0033605d21c115bf932c13b3219a6ea9a9088d20
treef2262096d3079912f6b40df762865ccb89d239a2
parent9957a2e3e158f4e81e60565d4555b3cdb404e14a
The regexec.c change of #3606 caused a core dump in fbm_instr()
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
regexec.c