3126. [security] Using DNAME record to generate replacements caused
RPZ to exit with a assertion failure. [RT #23766]
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.5 2011/06/09 00:42:51 marka Exp $
|
||||
# $Id: tests.sh,v 1.6 2011/06/09 03:10:17 marka Exp $
|
||||
|
||||
# test response policy zones (RPZ)
|
||||
|
||||
@@ -152,7 +152,9 @@ status=0
|
||||
|
||||
start_test "RPZ QNAME rewrites" test1
|
||||
nxdomain a0-1.tld2
|
||||
nodata a3-1.tld2
|
||||
nodata a1-1.tld2
|
||||
nodata a1-2.tld2
|
||||
nodata sub.a1-2.tld2
|
||||
a12 a4-1.sub1.tld2
|
||||
end_test
|
||||
|
||||
@@ -266,6 +268,7 @@ if [ $ret != 0 ]; then
|
||||
fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
||||
if test "$status" -eq 0; then
|
||||
rm -f dig.out*
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user