mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
4372. [bug] Address undefined behaviour in libt_api. [RT #42480]
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -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
|
4371. [func] New "minimal-any" option reduces the size of UDP
|
||||||
responses for qtype ANY by returning a single
|
responses for qtype ANY by returning a single
|
||||||
arbitrarily selected RRset instead of all RRsets.
|
arbitrarily selected RRset instead of all RRsets.
|
||||||
|
@@ -295,7 +295,7 @@ t_main(int argc, char **argv)
|
|||||||
|
|
||||||
tnum = 0;
|
tnum = 0;
|
||||||
pts = &T_testlist[0];
|
pts = &T_testlist[0];
|
||||||
while (*pts->pfv != NULL) {
|
while (pts->pfv != NULL) {
|
||||||
if (T_tvec[tnum / 8] & (0x01 << (tnum % 8))) {
|
if (T_tvec[tnum / 8] & (0x01 << (tnum % 8))) {
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
if (subprocs) {
|
if (subprocs) {
|
||||||
@@ -841,7 +841,7 @@ t_settests(const testspec_t list[]) {
|
|||||||
|
|
||||||
pts = &list[0];
|
pts = &list[0];
|
||||||
for (tnum = 0; tnum < T_MAXTESTS - 1; pts++, tnum++) {
|
for (tnum = 0; tnum < T_MAXTESTS - 1; pts++, tnum++) {
|
||||||
if (*pts->pfv == NULL)
|
if (pts->pfv == NULL)
|
||||||
break;
|
break;
|
||||||
T_testlist[tnum] = *pts;
|
T_testlist[tnum] = *pts;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user