Skip to content

Commit dc9dc26

Browse files
committed
Release v2.0.9
2 parents 06fa3f5 + 3909879 commit dc9dc26

File tree

28 files changed

+2136
-27
lines changed

28 files changed

+2136
-27
lines changed

.github/workflows/actions_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99

1010
env:
1111
COMMS_TAG: v5.3
12-
CC_MQTTSN_TAG: v3.0.1
13-
CC_MQTT311_TAG: v3.0.1
12+
CC_MQTTSN_TAG: v3.0.2
13+
CC_MQTT311_TAG: v3.0.2
1414
WIN_BOOST_VERSION: "1.87.0"
1515
WIN_BOOST_DIR: "C:/local/boost_1_87_0"
1616

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ option (CC_MQTTSN_CLIENT_APPS "Build and install client applications" ${CC_MQTTS
88
option (CC_MQTTSN_GATEWAY_LIB "Build and install MQTT-SN gateway library" ON)
99
option (CC_MQTTSN_GATEWAY_LIB_FORCE_PIC "Force Position Independent Code (PIC) when compiling gateway library" OFF)
1010
option (CC_MQTTSN_GATEWAY_APPS "Build and install gateway applications" ${CC_MQTTSN_GATEWAY_LIB})
11+
option (CC_MQTTSN_AFL_FUZZ "Build and install AFL++ fuzzing application(s)" OFF)
1112
option (CC_MQTTSN_BUILD_UNIT_TESTS "Build unittests." OFF)
12-
option (CC_MQTTSN_UNIT_TEST_WITH_VALGRIND "Disable valgrind in unittests." OFF)
13+
option (CC_MQTTSN_UNIT_TEST_WITH_VALGRIND "Run unittests with valgrind." OFF)
1314
option (CC_MQTTSN_USE_CCACHE "Use ccache on unix system" OFF)
1415
option (CC_MQTTSN_WITH_SANITIZERS "Build with sanitizers" OFF)
1516

@@ -18,7 +19,6 @@ option (BUILD_SHARED_LIBS "Build as shared libraries" OFF)
1819

1920
# Extra variables
2021
# CC_MQTTSN_CUSTOM_CLIENT_CONFIG_FILES - List of custom client configuration files
21-
# CC_MQTTSN_DEFAULT_CLIENT_CONFIG_FILE - Custom congiruation of the default client.
2222

2323
##########################################################################
2424

@@ -33,6 +33,7 @@ if (("${CMAKE_VERSION}" VERSION_GREATER_EQUAL "3.30") AND
3333
endif ()
3434

3535
find_package(LibComms REQUIRED)
36+
find_package(cc_mqttsn REQUIRED)
3637

3738
include (${PROJECT_SOURCE_DIR}/cmake/Compile.cmake)
3839
cc_mqttsn_compile ()

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ necessary components of the [CommsChampion Ecosystem](https://commschamp.github.
9090
Detailed instructions on how to build sources of **this** particular repository can be
9191
found in [doc/BUILD.md](doc/BUILD.md) file.
9292

93+
# How to Fuzz Test
94+
The provided MQTT-SN client library as well as its dependencies from the
95+
[CommsChampion Ecosystem](https://commschamp.github.io/) have been designed with
96+
reliability in mind and to be able to safely handle malformed data as well as
97+
withstand unexpected behaviour from a gateway. In order to
98+
verify the library's reliability it is highly recommended to perform
99+
[AFL++](https://github.com/AFLplusplus/AFLplusplus) based fuzz testing.
100+
The detailed instruction on how to fuzz test the
101+
library can be found in [doc/client_fuzz_test.md](doc/client_fuzz_test.md) file.
102+
93103
# Branching Model
94104
This repository will follow the
95105
[Successful Git Branching Model](http://nvie.com/posts/a-successful-git-branching-model/).

client/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
add_subdirectory (lib)
2-
add_subdirectory (app)
2+
add_subdirectory (app)
3+
add_subdirectory (afl_fuzz)

0 commit comments

Comments
 (0)