]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: risk of over reading the pref_net array.
authorDavid Carlier <dcarlier@afilias.info>
Fri, 8 Apr 2016 09:26:44 +0000 (10:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 Apr 2016 09:00:39 +0000 (11:00 +0200)
commitd10025c67158b75e0c60a4eade15cc194f6fbeba
treeb856704cb19c6d7820f8d73ebb1af5411e86976a
parent8a32106fffb4642687af76c78fd3c171847c917e
BUG/MINOR: server: risk of over reading the pref_net array.

dns_option struct pref_net field is an array of 5. The issue
here shows that pref_net_nb can go up to 5 as well which might lead
to read outside of this array.
src/server.c