]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: WURFL: segfault in wurfl-get() with missing info.
authormbellomi <massimiliano@scientiamobile.com>
Tue, 21 May 2019 13:32:48 +0000 (15:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 10:06:02 +0000 (12:06 +0200)
commitd173e93aa76cd8c484f0d1eef7d0110fb4e37202
treee6fd778db2fa243856e38f69a599234d9c8bacf6
parent0a7a4fbbc833bb6ccb2b9cfed964a5a1f5af7e6b
BUG/MEDIUM: WURFL: segfault in wurfl-get() with missing info.

A segfault may happen in ha_wurfl_get() when dereferencing information not
present in wurfl-information-list. Check the node retrieved from the tree,
not its container.

This fix must be backported to 1.9.
src/wurfl.c