[FFmpeg-cvslog] rtsp: Make sure we don' t write too many transport entries into a fixed-size array

2015-07-20 Thread Martin Storsjö
ffmpeg | branch: release/2.6 | Martin Storsjö mar...@martin.st | Fri Apr 24 
12:38:09 2015 +0300| [94a3d2e49caa23f9a9506b226ada1344a91ce24d] | committer: 
Michael Niedermayer

rtsp: Make sure we don't write too many transport entries into a fixed-size 
array

(cherry picked from commit b90adb0aba073f9c1b4abca852119947393ced4c)

Signed-off-by: Michael Niedermayer michae...@gmx.at

 http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94a3d2e49caa23f9a9506b226ada1344a91ce24d
---

 libavformat/rtsp.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 91128e1..5d1c5a9 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -964,6 +964,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, 
const char *p)
 p++;
 
 reply-nb_transports++;
+if (reply-nb_transports = RTSP_MAX_TRANSPORTS)
+break;
 }
 }
 

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


[FFmpeg-cvslog] rtsp: Make sure we don' t write too many transport entries into a fixed-size array

2015-06-01 Thread Martin Storsjö
ffmpeg | branch: release/2.2 | Martin Storsjö mar...@martin.st | Fri Apr 24 
12:38:09 2015 +0300| [4c4cc9b27b69a86e405fd7612aa0a62f3b62b027] | committer: 
Reinhard Tartler

rtsp: Make sure we don't write too many transport entries into a fixed-size 
array

CC: libav-sta...@libav.org
Signed-off-by: Martin Storsjö mar...@martin.st
(cherry picked from commit f77c9d71615e17414aacbb1720693b800a5a32d3)
Signed-off-by: Reinhard Tartler siret...@tauware.de

 http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c4cc9b27b69a86e405fd7612aa0a62f3b62b027
---

 libavformat/rtsp.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index b95be46..6f7d775 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -904,6 +904,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, 
const char *p)
 p++;
 
 reply-nb_transports++;
+if (reply-nb_transports = RTSP_MAX_TRANSPORTS)
+break;
 }
 }
 

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


[FFmpeg-cvslog] rtsp: Make sure we don' t write too many transport entries into a fixed-size array

2015-05-21 Thread Martin Storsjö
ffmpeg | branch: release/2.5 | Martin Storsjö mar...@martin.st | Fri Apr 24 
12:38:09 2015 +0300| [6b7c6218393082bf6c91f08944a6d2087e2170e7] | committer: 
Michael Niedermayer

rtsp: Make sure we don't write too many transport entries into a fixed-size 
array

(cherry picked from commit b90adb0aba073f9c1b4abca852119947393ced4c)

Signed-off-by: Michael Niedermayer michae...@gmx.at

 http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b7c6218393082bf6c91f08944a6d2087e2170e7
---

 libavformat/rtsp.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index ae62252..6b9b544 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -931,6 +931,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, 
const char *p)
 p++;
 
 reply-nb_transports++;
+if (reply-nb_transports = RTSP_MAX_TRANSPORTS)
+break;
 }
 }
 

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


[FFmpeg-cvslog] rtsp: Make sure we don' t write too many transport entries into a fixed-size array

2015-05-19 Thread Martin Storsjö
ffmpeg | branch: release/2.4 | Martin Storsjö mar...@martin.st | Fri Apr 24 
12:38:09 2015 +0300| [f77c9d71615e17414aacbb1720693b800a5a32d3] | committer: 
Vittorio Giovara

rtsp: Make sure we don't write too many transport entries into a fixed-size 
array

CC: libav-sta...@libav.org
Signed-off-by: Martin Storsjö mar...@martin.st

 http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f77c9d71615e17414aacbb1720693b800a5a32d3
---

 libavformat/rtsp.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 4e79bc1..3d040d3 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -927,6 +927,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, 
const char *p)
 p++;
 
 reply-nb_transports++;
+if (reply-nb_transports = RTSP_MAX_TRANSPORTS)
+break;
 }
 }
 

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


[FFmpeg-cvslog] rtsp: Make sure we don' t write too many transport entries into a fixed-size array

2015-04-24 Thread Martin Storsjö
ffmpeg | branch: master | Martin Storsjö mar...@martin.st | Fri Apr 24 
12:38:09 2015 +0300| [b90adb0aba073f9c1b4abca852119947393ced4c] | committer: 
Martin Storsjö

rtsp: Make sure we don't write too many transport entries into a fixed-size 
array

CC: libav-sta...@libav.org
Signed-off-by: Martin Storsjö mar...@martin.st

 http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b90adb0aba073f9c1b4abca852119947393ced4c
---

 libavformat/rtsp.c |2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 1b60b4f..cbea685 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -972,6 +972,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, 
const char *p)
 p++;
 
 reply-nb_transports++;
+if (reply-nb_transports = RTSP_MAX_TRANSPORTS)
+break;
 }
 }
 

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