mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 04:54:02 -04:00
chg: dev: Fix data race in clean_finds_at_name
Stop updating `find.result_v4` and `find.result_v4` in `clean_finds_at_name`. The values are supposed to be static. Closes #4118 Merge branch '4118-data-race-lib-dns-adb-c-1537-in-clean_finds_at_name' into 'main' Closes #4118 See merge request isc-projects/bind9!9108
This commit is contained in:
commit
0dcc93d87a
1 changed files with 0 additions and 4 deletions
|
|
@ -937,8 +937,6 @@ clean_finds_at_name(dns_adbname_t *name, dns_adbstatus_t astat,
|
|||
|
||||
INSIST(!FIND_EVENTSENT(find));
|
||||
|
||||
find->result_v4 = find_err_map[name->fetch_err];
|
||||
find->result_v6 = find_err_map[name->fetch6_err];
|
||||
find->status = astat;
|
||||
|
||||
DP(DEF_LEVEL, "cfan: sending find %p to caller", find);
|
||||
|
|
@ -2278,8 +2276,6 @@ static void
|
|||
find_sendevent(dns_adbfind_t *find) {
|
||||
if (!FIND_EVENTSENT(find)) {
|
||||
find->status = DNS_ADB_CANCELED;
|
||||
find->result_v4 = ISC_R_CANCELED;
|
||||
find->result_v6 = ISC_R_CANCELED;
|
||||
|
||||
DP(DEF_LEVEL, "sending find %p to caller", find);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue