Michał Kępień
749b3cacfc
Only clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed immediately
...
zone_load() is not always synchronous, it may only initiate an
asynchronous load and return DNS_R_CONTINUE, which means zone loading
has not yet been completed. In such a case, zone_asyncload() must not
clear DNS_ZONEFLG_LOADPENDING immediately and leave that up to
zone_postload().
2018-02-16 08:58:24 +01:00
Michał Kępień
e0205aac03
Lock zone before checking whether its asynchronous load is already pending
...
While this is not an issue in named, which only calls
dns_zone_asyncload() from task-exclusive mode, this function is exported
by libdns and thus may in theory be concurrently called for the same
zone by multiple threads. It also does not hurt to be consistent
locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.
2018-02-16 08:58:24 +01:00
Mark Andrews
682f6c017f
Merge branch 'fix-cpp-check-errors' into 'v9_11'
...
Fix cpp check errors v9_11
See merge request isc-projects/bind9!30
2018-02-15 23:13:06 -05:00
Mark Andrews
1cf7f9168a
s/cppchecker/cppcheck
2018-02-16 15:08:49 +11:00
Mark Andrews
cdfea624f0
add GL issue number
2018-02-16 15:08:49 +11:00
Mark Andrews
9fd6febad4
add CHANGES note
2018-02-16 15:08:49 +11:00
Mark Andrews
ad5550c029
add POST(len);
2018-02-16 15:08:25 +11:00
Mark Andrews
65cfe7e1ad
conditionally declare stacksize
2018-02-16 15:08:24 +11:00
Mark Andrews
027bc5535c
add POST(len);
2018-02-16 15:08:24 +11:00
Mark Andrews
bdf5c08fc4
Clarify calculation precedence for '&' and '?'
2018-02-16 15:08:24 +11:00
Mark Andrews
2c85b9afd7
add POST(tl)
2018-02-16 15:08:24 +11:00
Mark Andrews
f103cbee94
return failure count
2018-02-16 15:08:24 +11:00
Mark Andrews
118203925a
conditionally declare strbuf
2018-02-16 15:06:51 +11:00
Mark Andrews
c2e6e799b3
test for == 0 rather than <= as value is unsigned
2018-02-16 15:00:06 +11:00
Mark Andrews
0c2c1615cb
add brackets
2018-02-16 14:59:20 +11:00
Mark Andrews
bb7a470a0d
reorder test to silence cppcheck
2018-02-16 14:59:20 +11:00
Mark Andrews
5d9109c3b5
remove event which is only used for sizeof
2018-02-16 14:59:19 +11:00
Mark Andrews
6b77f4f258
remember the masters count
2018-02-16 14:58:18 +11:00
Mark Andrews
e51c5d2e74
reorder test to silence cppcheck
2018-02-16 14:58:18 +11:00
Mark Andrews
22c6b2308e
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
c58169ff1c
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
8db1762d68
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
f6dae15117
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
8d9097b0b7
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
04c5165b40
use %u instead of %d
2018-02-16 14:58:17 +11:00
Mark Andrews
54672c31b9
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
262d514345
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
8c51ba3aac
use %u instead of %d
2018-02-16 14:54:36 +11:00
Mark Andrews
8dba09602b
case to unsigned; reorder expression
2018-02-16 14:52:51 +11:00
Mark Andrews
012ae8afa2
simplify expression
2018-02-16 14:45:20 +11:00
Mark Andrews
0ae4bf22d2
use %u and preserve unsigned property
2018-02-16 14:45:20 +11:00
Mark Andrews
7873680877
cast to unsigned
2018-02-16 14:36:56 +11:00
Mark Andrews
ea6732c354
preserve unsigned property
2018-02-16 14:36:56 +11:00
Mark Andrews
c35a870559
use %u instead of %d
2018-02-16 14:36:56 +11:00
Mark Andrews
c57610f1cc
make both arguments of & unsigned
2018-02-16 14:36:56 +11:00
Mark Andrews
faf0e3ff65
use %u instead of %d
2018-02-16 14:36:56 +11:00
Mark Andrews
45960706e6
use %u instead of %d
2018-02-16 14:36:56 +11:00
Mark Andrews
1f0313656f
use %u instead of %d
2018-02-16 14:36:02 +11:00
Mark Andrews
ab0805b73e
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 14:35:36 +11:00
Mark Andrews
4b83e4e105
use %u instead of %d
2018-02-16 14:35:36 +11:00
Mark Andrews
351a27ef5b
unsigned constants
2018-02-16 14:35:36 +11:00
Mark Andrews
e6cd8a52aa
unsigned constants
2018-02-16 14:34:18 +11:00
Mark Andrews
9cc1ea9566
use %u instead of %d
2018-02-16 14:32:24 +11:00
Mark Andrews
2bbdfaaa0a
use %u instead of %d
2018-02-16 14:32:24 +11:00
Mark Andrews
95657b047e
use %u instead of %d
2018-02-16 14:32:24 +11:00
Mark Andrews
42c12e6b81
INSIST ipnum6 != NULL
2018-02-16 14:29:27 +11:00
Mark Andrews
cd86c23e87
use %u instead of %d
2018-02-16 14:29:27 +11:00
Mark Andrews
ca60688cb1
use %u instead of %d
2018-02-16 14:29:27 +11:00
Mark Andrews
39142beb63
test for >= 0 and use %d instead of %u
2018-02-16 14:29:27 +11:00
Mark Andrews
a0adc34f3b
formally cast to int; use %u instead of %d
2018-02-16 14:29:27 +11:00