[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: connection.c: added assert to mut
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: connection.c: added assert to mute static analyzer |
Date: |
Mon, 16 Aug 2021 10:13:34 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new d2e271a4 connection.c: added assert to mute static analyzer
d2e271a4 is described below
commit d2e271a4eb6b524a16e592cc93fb01739b761c73
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Aug 16 11:09:48 2021 +0300
connection.c: added assert to mute static analyzer
---
src/microhttpd/connection.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 249eb335..83126b5d 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1669,6 +1669,7 @@ buffer_append (char *buf,
const char *append,
size_t append_size)
{
+ mhd_assert (NULL != buf); /* Mute static analyzer */
if (buf_size < *ppos + append_size)
return false;
memcpy (buf + *ppos, append, append_size);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: connection.c: added assert to mute static analyzer,
gnunet <=