avformat/http: Check for truncated buffers in http_connect()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Feb 2017 11:47:49 +0000 (12:47 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:32 +0000 (03:41 +0200)
commit02c51f323255809b664d6224520ea9ed7573fe3c
tree1965a39bc2397d6cdbb359816b921dd949e453dd
parenta1ad585c8ef1ec2f00f70ada99af0c67834fd23c
avformat/http: Check for truncated buffers in http_connect()

Reported-by: SleepProgger <security@gnutp.com>
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8fa18e042ad2c078f759692f1db5629d16d70595)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/http.c