mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-02 12:59:36 -05:00
Changelog note for #529 and nicer layout.
- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is undefined.
This commit is contained in:
parent
a4d1224d92
commit
54b7554b5a
2 changed files with 7 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue