Ross Finlayson <[EMAIL PROTECTED]> wrote:
> Probably the easiest fix for this problem (until I get around to 
> rewriting/cleaning up the whole RTSP request parsing code) is to 
> change
>       j < reqStrSize-8
> to
>       (int)j < (int)(reqStrSize-8)

Hey Ross,

I'm happy that you liked my bug report 8-)

Another solution could be also:

  if(reqStrSize < 8) return False;

placed at the beginning of the function (for avoiding the first
instructions since we already know that the data is invalid) or
naturally before that for().


BYEZ


--- 
Luigi Auriemma
http://aluigi.org
http://forum.aluigi.org
http://mirror.aluigi.org
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to