[Live-devel] [PATCH] overflow in getResponse1()

2010-02-09 Thread Martin Bonnin
Hello all, getResponse1() can overflow by one byte when called from setupMediaSubsession(). The reason is that the 'responseBufferSize' does not include the ending '\0' (see responseBuffer[bytesRead] = '\0' in RTSPClient.cpp around line 2195) The attached patch allocates one byte more, l

[Live-devel] [PATCH] fix for asynchronous server requests

2008-12-16 Thread Martin Bonnin
Hello All, I have a server here that sends me SET_PARAMETER requests while the client is waiting for a DESCRIBE response. The RFC states in appendix D.1 that "A client implementation MUST be able to do the following : * Expect and respond to asynchronous requests from the server". And also that