Neil Hodgson wrote:
Dan Petitt:
RESearch does not initialise some memory, need to add to RESearch::Init:
        for (int k=0; k<MAXNFA; k++)
                nfa[k] = 0;

  OK, committed.

Is there risk of reading in nfa at uninitialized addresses?
Otherwise, I don't see the point, nfa is filled in RESearch::Compile
Of course, better ready than sorry...
There is another uninitialized buffer: tagstk

Oh, and what about using memset? :-)

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to