Re: [Live-devel] [patch] null check before dereferencing

2008-07-01 Thread Ross Finlayson
Thanks. I'm curious - how are you finding all of these issues/bugs? Are you running some tool (like "valgrind") that reports them, or have you just been inspecting the code by hand? -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___

[Live-devel] [patch] null check before dereferencing

2008-07-01 Thread Erik Hovland
In the member function SIPClient::getResponseCode the pointer nextLineStart might be null when it is assigned to bodyStart, then bodyStart might be used in an equation (where the calculated value will now be off). E --- liveMedia/SIPClient.cpp |2 +- 1 files changed, 1 insertions(+), 1 dele