regexec(): avoid uninit use of var
authorDavid Mitchell <davem@iabyn.com>
Fri, 19 Jul 2013 21:00:23 +0000 (22:00 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 28 Jul 2013 09:33:39 +0000 (10:33 +0100)
commit63a3746a9fd4390177c052a5873163bc11fa8f69
tree050415a02635ac22c884f71e31065a3986ec8acc
parent9a8c1c8ced8bc0d4970288efad5639bc8c5ce85a
regexec(): avoid uninit use of var

clang pointed out that

    if (...)
goto phooey;
    oldsave = PL_savestack_ix;
    ...
  phooey:
    LEAVE_SCOPE(oldsave);

could use oldsave uninitialised. clang 1, dave 0.
regexec.c