diff --git a/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/corpus/init b/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/corpus/init index 2be750d4aca6dd7dc15ec82d18aea969f3d8be30..b1a4c69f4cdf625a90fc4fb0184b387ad69ebcc9 100644 --- a/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/corpus/init +++ b/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/corpus/init @@ -11,4 +11,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -FUZZ \ No newline at end of file +1111111111111111111111111111111111111111111111111111111111111111 \ No newline at end of file diff --git a/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/datatransmitmgr_fuzzer.h b/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/datatransmitmgr_fuzzer.h index a1225ca0d14f2cb8acec94b7515da5d88f312cd9..0a69ca9a654e0e7c542e546c6a8bc712721729c6 100644 --- a/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/datatransmitmgr_fuzzer.h +++ b/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/datatransmitmgr_fuzzer.h @@ -13,6 +13,9 @@ * limitations under the License. */ +#ifndef DATATRANSMITMGR_FUZZER_H +#define DATATRANSMITMGR_FUZZER_H + #include #include #include @@ -22,3 +25,4 @@ #define FUZZ_PROJECT_NAME "datatransmitmgr_fuzzer" +#endif \ No newline at end of file diff --git a/test/unittest/datatransmitmgr/DevSLMgrTest.cpp b/test/unittest/datatransmitmgr/DevSLMgrTest.cpp index b30a5cae0b77799a457d0797bfedaa4b57c1b095..2d08ad297cfd6bceb9591fdb2507012a6de3ce36 100644 --- a/test/unittest/datatransmitmgr/DevSLMgrTest.cpp +++ b/test/unittest/datatransmitmgr/DevSLMgrTest.cpp @@ -38,7 +38,7 @@ protected: private: }; -void NativeTokenGet() +static void NativeTokenGet() { uint64_t tokenId; const char **perms = new const char *[1];