gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] branch master updated: asan fix for flags


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: asan fix for flags
Date: Fri, 02 Mar 2018 22:09:55 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new a27a11f2 asan fix for flags
a27a11f2 is described below

commit a27a11f20c7b82fd4480b8a1ca8605ff79fff494
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 2 22:09:52 2018 +0100

    asan fix for flags
---
 src/microhttpd/test_upgrade.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 7b542aff..a1f58b1d 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -1100,7 +1100,15 @@ test_upgrade (int flags,
                            sock))
     abort ();
   if (0 == (flags & MHD_USE_INTERNAL_POLLING_THREAD) )
-    run_mhd_loop (d, real_flags->flags);
+    {
+      enum MHD_FLAG flags;
+
+      /* make address sanitizer happy */
+      memcpy (&flags,
+              &real_flags->flags,
+              sizeof (flags));
+      run_mhd_loop (d, flags);
+    }
   pthread_join (pt_client,
                 NULL);
   pthread_join (pt,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]