|
From: Tom H. <th...@cy...> - 2003-08-05 08:10:17
|
In message <E8C...@fs...>
Borg Enders <Bor...@pd...> wrote:
> I think valgrind, should handle this problem correctly and not core
> by it's self.
But valgrind didn't core, your program did. You read invalid
memory by reading through a null pointer. Valgrind warned you
what your program was about to do, then your program did it
and suffered the consequences.
To be honest I'm not quite sure what you are suggesting - that
valgrind should fake up any read that it thinks is questionable
and return some dummy value?
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|