]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
libupnp: add upstream security fix for CVE-2016-8863
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Dec 2016 13:13:24 +0000 (14:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Dec 2016 22:14:28 +0000 (23:14 +0100)
commit738a80e2ebb80f66213d20c53166ffea0f0cc0da
tree7480602fc3542cbb7763c5ac3fc3689a75d2ecd3
parente9da17dead181483f593cad361e854d6e047679e
libupnp: add upstream security fix for CVE-2016-8863

Fix out-of-bound access in create_url_list()

If there is an invalid URL in URLS->buf after a valid one, uri_parse is
called with out pointing after the allocated memory. As uri_parse writes
to *out before returning an error the loop in create_url_list must be
stopped early to prevent an out-of-bound access.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit c489cbad775380b4c7586574e3dae8dc67ee9087)
package/libupnp/0002-Fix-out-of-bound-access-in-create_url_list-CVE-2016-.patch [new file with mode: 0644]