Changelog note for #529 and nicer layout.

- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
  undefined.
This commit is contained in:
W.C.A. Wijngaards 2021-08-20 14:32:13 +02:00
parent a4d1224d92
commit 54b7554b5a
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
20 August 2021: Wouter
- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
undefined.
17 August 2021: Wouter
- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
location of a different openssl version.

View file

@ -364,9 +364,9 @@ int tube_read_msg(struct tube* tube, uint8_t** buf, uint32_t* len,
d += r;
}
if (*len >= 65536*2) {
log_err("tube msg length is too big", *len);
(void)fd_set_nonblock(fd);
return 0;
log_err("tube msg length %u is too big", (unsigned)*len);
(void)fd_set_nonblock(fd);
return 0;
}
*buf = (uint8_t*)malloc(*len);
if(!*buf) {