mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
4164. [bug] Don't rename slave files and journals on out of memory.
[RT #40033] 4163. [bug] Address compiler warnings. [RT #40024]
This commit is contained in:
@@ -376,7 +376,7 @@ hash_key(const dns_rrl_key_t *key) {
|
||||
int i;
|
||||
|
||||
hval = key->w[0];
|
||||
for (i = sizeof(*key) / sizeof(key->w[0]) - 1; i >= 0; --i) {
|
||||
for (i = sizeof(key->w) / sizeof(key->w[0]) - 1; i >= 0; --i) {
|
||||
hval = key->w[i] + (hval<<1);
|
||||
}
|
||||
return (hval);
|
||||
|
Reference in New Issue
Block a user