4492. [bug] irs_resconf_load failed to initialise sortlistnxt

causing bad writes if resolv.conf contained a
                        sortlist directive. [RT #43459]
This commit is contained in:
Mark Andrews
2016-10-27 13:17:58 +11:00
parent 8eaf918adf
commit 55b78fff62
26 changed files with 243 additions and 13 deletions

8
lib/irs/tests/testdata/resolv.conf vendored Normal file
View File

@@ -0,0 +1,8 @@
port 5300
nameserver 10.0.0.1
nameserver 2001:DB8::1
search example.com example.net
sortlist 130.155.160.0/255.255.240.0 130.155.0.0
timeout 10
unknown directive
options unknown debug timeout:1 ndots:2