]> git.sesse.net Git - vlc/commit
stream_filter/httplive.c: do not crash on strdup(NULL)
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 19 Jan 2011 15:11:49 +0000 (16:11 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 19 Jan 2011 15:22:29 +0000 (16:22 +0100)
commitc5f5039b2c950b5bb630e76d42103dd8c679f274
tree59b5e97174fc0f9d5c66a8ca639569d29ba4788f
parent36f8268351dfe0ea51d8b0ac9182d423bf48df51
stream_filter/httplive.c: do not crash on strdup(NULL)

httplive crashed in parse_SegmentInformation on line 428. The cause is
that hls->url.psz_path can be NULL, when there is no meta playlist involved.
In that situation it results in a crash of vlc. (Issue reported by Felix Kuehne.)
modules/stream_filter/httplive.c