diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-08-26 15:48:44 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2018-08-26 15:48:44 +0100 |
commit | 70fd5be7d923c3cb127259647a5dbd37932023c1 (patch) | |
tree | fd0acb4c646c7bff3b783f2d87af428606ebe7f2 | |
parent | 935be21bfb31ed55ec52664a59f13c21829ae024 (diff) | |
download | libnslog-70fd5be7d923c3cb127259647a5dbd37932023c1.tar.gz libnslog-70fd5be7d923c3cb127259647a5dbd37932023c1.tar.bz2 |
Another thing to shush openbsd
-rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ static void nslog__log_corked(nslog_entry_context_t *ctx, return; } newcork->context = *ctx; - vsprintf(newcork->message, fmt, args); + vsnprintf(newcork->message, measured_len + 1, fmt, args); if (nslog__cork_chain == NULL) { nslog__cork_chain = nslog__cork_chain_last = newcork; } else { |