re_intuit_start(): always initialise start_shift
authorDavid Mitchell <davem@iabyn.com>
Sat, 8 Mar 2014 14:38:56 +0000 (14:38 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 16 Mar 2014 18:03:50 +0000 (18:03 +0000)
commit6b071d16f412026593626080b01e5398a48ed780
treef5ae7f189d86c9d13a1e2a97b0ec59d683dd5db1
parentffad1e6aac9969035a0dd84ca2ac1e4482364b5f
re_intuit_start(): always initialise start_shift

The start_shift variable is usually initialised to prog->check_offset_min,
except for one code path where it is left at zero. It turns out that
in that code path, the value isn't (currently) used, so is safe. However,
that may change, so unconditionally initialise it.
regexec.c