Skip to content

Commit

Permalink
messaging: fix coverity issues
Browse files Browse the repository at this point in the history
55558, 55868: Out-of-bounds access in coap_remove_observer_by_resource
  • Loading branch information
Danielius1922 committed Jul 7, 2023
1 parent 090a45f commit 51e2d52
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 92 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ if(BUILD_TESTING AND(UNIX OR MINGW))
oc_package_add_test(TARGET platformtest SOURCES ${COMMONTEST_SRC} ${PLATFORMTEST_SRC})

file(GLOB MESSAGINGTEST_SRC messaging/coap/unittest/*.cpp)
oc_package_add_test(TARGET messagingtest SOURCES ${MESSAGINGTEST_SRC})
oc_package_add_test(TARGET messagingtest SOURCES ${COMMONTEST_SRC} ${MESSAGINGTEST_SRC})

if(OC_SECURITY_ENABLED)
file(GLOB SECURITYTEST_SRC security/unittest/*.cpp)
Expand Down
Loading

0 comments on commit 51e2d52

Please sign in to comment.