Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45425ee2 authored by Robert Shih's avatar Robert Shih Committed by android-build-team Robot
Browse files

httplive: check for malformed EXT-X-STREAM-INF

Bug: 68342866
Test: adb shell am start -a android.intent.action.VIEW -d http://localhost:1137/index.html
Change-Id: I479f9e0b7ca828d048ef88b23b4948e3c1472b3c
(cherry picked from commit e3bd8dd8)
parent 2f077481
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -897,6 +897,9 @@ status_t M3UParser::parseStreamInf(
        }
    }

    if (meta->get() == NULL) {
        return ERROR_MALFORMED;
    }
    return OK;
}