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:
1
lib/irs/tests/testdata/domain.conf
vendored
Normal file
1
lib/irs/tests/testdata/domain.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
domain example.com
|
||||
1
lib/irs/tests/testdata/nameserver-v4.conf
vendored
Normal file
1
lib/irs/tests/testdata/nameserver-v4.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
nameserver 10.0.0.1
|
||||
1
lib/irs/tests/testdata/nameserver-v6.conf
vendored
Normal file
1
lib/irs/tests/testdata/nameserver-v6.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
nameserver 2001:DB8::1
|
||||
1
lib/irs/tests/testdata/options-debug.conf
vendored
Normal file
1
lib/irs/tests/testdata/options-debug.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
options debug
|
||||
1
lib/irs/tests/testdata/options-ndots.conf
vendored
Normal file
1
lib/irs/tests/testdata/options-ndots.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
option ndots:2
|
||||
1
lib/irs/tests/testdata/options-timeout.conf
vendored
Normal file
1
lib/irs/tests/testdata/options-timeout.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
options timeout:1
|
||||
1
lib/irs/tests/testdata/options-unknown.conf
vendored
Normal file
1
lib/irs/tests/testdata/options-unknown.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
options unknown
|
||||
1
lib/irs/tests/testdata/options.conf
vendored
Normal file
1
lib/irs/tests/testdata/options.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
options unknown debug timeout:1 ndots:2
|
||||
1
lib/irs/tests/testdata/port.conf
vendored
Normal file
1
lib/irs/tests/testdata/port.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
port 5300
|
||||
8
lib/irs/tests/testdata/resolv.conf
vendored
Normal file
8
lib/irs/tests/testdata/resolv.conf
vendored
Normal 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
|
||||
1
lib/irs/tests/testdata/search.conf
vendored
Normal file
1
lib/irs/tests/testdata/search.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
search example.com example.net
|
||||
1
lib/irs/tests/testdata/sortlist-v4.conf
vendored
Normal file
1
lib/irs/tests/testdata/sortlist-v4.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
sortlist 130.155.160.0/255.255.240.0 130.155.0.0
|
||||
1
lib/irs/tests/testdata/timeout.conf
vendored
Normal file
1
lib/irs/tests/testdata/timeout.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
timeout 10
|
||||
1
lib/irs/tests/testdata/unknown.conf
vendored
Normal file
1
lib/irs/tests/testdata/unknown.conf
vendored
Normal file
@@ -0,0 +1 @@
|
||||
unknown directive
|
||||
Reference in New Issue
Block a user