[Live-devel] problem about uninitialized local unsigned variable‏

Ross Finlayson finlayson at live555.com
Wed Aug 29 23:13:29 PDT 2012


> then the first rtsp request is "rtsp://localhost:8854" and not contain "mp3test", this time the next function call "parseRTSPRequestString" will failed, and the var "contentLength" is not a sure value.

Yes, this is a bug.  The "contentLength" needs to be initialized (to 0) before calling "parseRTSPRequestString()", in case this call returns False.

The latest version (2012.08.30) of the code fixes this.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120829/cdf495f1/attachment.html>


More information about the live-devel mailing list