Gitweb links:

...log 
http://git.netsurf-browser.org/libnslog.git/shortlog/70fd5be7d923c3cb127259647a5dbd37932023c1
...commit 
http://git.netsurf-browser.org/libnslog.git/commit/70fd5be7d923c3cb127259647a5dbd37932023c1
...tree 
http://git.netsurf-browser.org/libnslog.git/tree/70fd5be7d923c3cb127259647a5dbd37932023c1

The branch, master has been updated
       via  70fd5be7d923c3cb127259647a5dbd37932023c1 (commit)
      from  935be21bfb31ed55ec52664a59f13c21829ae024 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libnslog.git/commit/?id=70fd5be7d923c3cb127259647a5dbd37932023c1
commit 70fd5be7d923c3cb127259647a5dbd37932023c1
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    Another thing to shush openbsd

diff --git a/src/core.c b/src/core.c
index 48ea5aa..132e1e6 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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 {


-----------------------------------------------------------------------

Summary of changes:
 src/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core.c b/src/core.c
index 48ea5aa..132e1e6 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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 {


-- 
NetSurf Parametric Logging Library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to