| commit | 0683db731475b03ea1a6c4c7932f3c6facfdb8b3 | [log] [tgz] |
|---|---|---|
| author | Hendrik Hagendorn <hendrik@hagendorn.it> | Thu Nov 07 02:58:05 2019 -0800 |
| committer | android-build-merger <android-build-merger@google.com> | Thu Nov 07 02:58:05 2019 -0800 |
| tree | e8a41e8475c33c19195ce36474d72a75234f9acf | |
| parent | 321d21345b305e21fac5f8eae22f5914a472efe9 [diff] | |
| parent | 80ae16296ab74ea24618e63b8fd7234378e6226c [diff] |
Merge "ARTSPConnection: HTTP Authentication: Fix URI bounds" am: 9752654ce4 am: 896a9f000a am: 80ae16296a Change-Id: I8e83a5700292109a106fdefbbac52279124d8d9a
diff --git a/media/libstagefright/rtsp/ARTSPConnection.cpp b/media/libstagefright/rtsp/ARTSPConnection.cpp index cac1af9..bb66f4c 100644 --- a/media/libstagefright/rtsp/ARTSPConnection.cpp +++ b/media/libstagefright/rtsp/ARTSPConnection.cpp
@@ -954,7 +954,7 @@ CHECK_GE(space2, 0); method->setTo(request, 0, space1); - url->setTo(request, space1 + 1, space2 - space1); + url->setTo(request, space1 + 1, space2 - space1 - 1); } void ARTSPConnection::addAuthentication(AString *request) {