2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

4372. [bug] Address undefined behaviour in libt_api. [RT #42480]

This commit is contained in:
Mark Andrews
2016-05-26 11:57:16 +10:00
parent 5c5dcf34c3
commit a0f5a5e3c5
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
4372. [bug] Address undefined behaviour in libt_api. [RT #42480]
4371. [func] New "minimal-any" option reduces the size of UDP
responses for qtype ANY by returning a single
arbitrarily selected RRset instead of all RRsets.

View File

@@ -295,7 +295,7 @@ t_main(int argc, char **argv)
tnum = 0;
pts = &T_testlist[0];
while (*pts->pfv != NULL) {
while (pts->pfv != NULL) {
if (T_tvec[tnum / 8] & (0x01 << (tnum % 8))) {
#ifndef WIN32
if (subprocs) {
@@ -841,7 +841,7 @@ t_settests(const testspec_t list[]) {
pts = &list[0];
for (tnum = 0; tnum < T_MAXTESTS - 1; pts++, tnum++) {
if (*pts->pfv == NULL)
if (pts->pfv == NULL)
break;
T_testlist[tnum] = *pts;
}