You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2019/12/23 16:26:14 UTC

[qpid-proton] branch master updated: PROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#172)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e3a6cd  PROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#172)
1e3a6cd is described below

commit 1e3a6cd10ed8e8ff09944c353750991a99d50582
Author: Jiří Daněk <jd...@redhat.com>
AuthorDate: Mon Dec 23 17:26:05 2019 +0100

    PROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#172)
    
    * [c] link fuzzing binaries using CXX linker
---
 c/tests/fuzz/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/c/tests/fuzz/CMakeLists.txt b/c/tests/fuzz/CMakeLists.txt
index fc66eb6..774c52c 100644
--- a/c/tests/fuzz/CMakeLists.txt
+++ b/c/tests/fuzz/CMakeLists.txt
@@ -33,6 +33,9 @@ add_library (StandaloneFuzzTargetMain STATIC StandaloneFuzzTargetMain.c Standalo
 macro (pn_add_fuzz_test test)
   add_executable (${test} ${ARGN})
   target_link_libraries (${test} ${FUZZING_LIBRARY})
+  # -lFuzzingEngine is a C++ library, which needs c++ std lib
+  set_target_properties(${test} PROPERTIES LINKER_LANGUAGE CXX)
+
   list(APPEND fuzz_test_src ${ARGN})
 
   if (FUZZ_REGRESSION_TESTS)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org