HTTP: fix possible crash in vlc_http_res_get_redirect
commitfd168dd49a6875993cd78da0e51f50256e10f683
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 5 Sep 2017 21:41:25 +0000 (5 23:41 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 6 Sep 2017 12:48:33 +0000 (6 14:48 +0200)
tree7b7734d4749ebd7316f4eb230226cf2555e815e9
parent9ad50ca913fc4e951960ec993d0b8dbd0efed6a4
HTTP: fix possible crash in vlc_http_res_get_redirect

If vlc_uri_resolve returns NULL, then strcspn will crash
modules/access/http/resource.c