Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Breaking changes:
Features:
* new attribute 'check_timeout' on `host` and `service` structs, overrides the global host / service check timeouts. (#525)

Bugfixes:
* fix memory corruption in `mkstr` caused by integer overflow (#527)

1.5.0 - Feb 03 2026
===================
Breaking changes:
Expand Down
2 changes: 1 addition & 1 deletion lib/nsutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int str2timeval(char *str, struct timeval *tv)
const char *mkstr(const char *fmt, ...)
{
static char buf[MKSTR_BUFS][32]; /* 8k statically on the stack */
static int slot = 0;
static unsigned int slot = 0;
char *ret;

va_list ap;
Expand Down
Loading