Commit 10a28e8a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b90adb0a'

* commit 'b90adb0a':
  rtsp: Make sure we don't write too many transport entries into a fixed-size array
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 97f074f1 b90adb0a
...@@ -979,6 +979,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p) ...@@ -979,6 +979,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p)
p++; p++;
reply->nb_transports++; reply->nb_transports++;
if (reply->nb_transports >= RTSP_MAX_TRANSPORTS)
break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment