Re: [FFmpeg-devel] [PATCH] lavf/http: Fix parsing http request data to not read over '\0'.

2015-08-25 Thread Nicolas George
Le tridi 3 fructidor, an CCXXIII, Stephan Holljes a écrit :
 Signed-off-by: Stephan Holljes klaxa1...@googlemail.com
 ---
  libavformat/http.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Pushed.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [PATCH] lavf/http: Fix parsing http request data to not read over '\0'.

2015-08-20 Thread Nicolas George
Le tridi 3 fructidor, an CCXXIII, Stephan Holljes a écrit :
 Signed-off-by: Stephan Holljes klaxa1...@googlemail.com
 ---
  libavformat/http.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

LGTM, thanks.

Note to Hendrik and the others who took over the merging: Until recently,
Michael pulled from my tree and pushed, to avoid interfering with the
merging process. What what is more convenient for you?

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] lavf/http: Fix parsing http request data to not read over '\0'.

2015-08-20 Thread Stephan Holljes
Signed-off-by: Stephan Holljes klaxa1...@googlemail.com
---
 libavformat/http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index a136918..18df34e 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -716,7 +716,7 @@ static int process_line(URLContext *h, char *line, int 
line_count,
 if (s-is_connected_server) {
 // HTTP method
 method = p;
-while (!av_isspace(*p))
+while (*p  !av_isspace(*p))
 p++;
 *(p++) = '\0';
 av_log(h, AV_LOG_TRACE, Received method: %s\n, method);
@@ -753,7 +753,7 @@ static int process_line(URLContext *h, char *line, int 
line_count,
 while (av_isspace(*p))
 p++;
 version = p;
-while (!av_isspace(*p))
+while (*p  !av_isspace(*p))
 p++;
 *p = '\0';
 if (av_strncasecmp(version, HTTP/, 5)) {
-- 
2.1.0

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel