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

Commit e3bd8dd8 authored by Robert Shih's avatar Robert Shih
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
parent c5e5b382
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -810,6 +810,9 @@ status_t M3UParser::parseStreamInf(
        }
    }

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