--- In [email protected], Paul Herring <pauljherr...@...> wrote: > > On Tue, Jan 12, 2010 at 7:06 AM, John <jm5...@...> wrote: > > --- In [email protected], John Gaughan <john@> wrote: > >> > >> Try initializing the memory to which newstr points before trying to use > >> it: this includes getting its length. > > > > 'getting' -> 'setting', or am I reading it wrong? > > You're reading it wrong. > > They're doing the equivalent of:
Paul - I know why the code is wrong; what I don't understand is how 'getting its length' initializes the memory pointed to by newstr.
