inhavk / libhercules Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
src/libhercules.c:327:5: error: Common realloc mistake: 'binary_string' nulled but not freed upon failure [memleakOnRealloc]
src/libhercules.c:330:5: error: Common realloc mistake: 'binary_string' nulled but not freed upon failure [memleakOnRealloc]
src/libhercules.c:332:5: error: Common realloc mistake: 'binary_string' nulled but not freed upon failure [memleakOnRealloc]
==43105==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 44 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407f43 in container_add_tag_Vector src/libhercules.c:300
#2 0x4053d3 in test_event_to_binary test/Testlibhercules.c:265
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 41 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407458 in container_add_tag_Integer src/libhercules.c:212
#2 0x4054fa in test_event_to_binary test/Testlibhercules.c:268
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x406196 in event_create src/libhercules.c:34
#2 0x401664 in test_event_with_container test/Testlibhercules.c:37
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407f43 in container_add_tag_Vector src/libhercules.c:300
#2 0x4055d3 in test_event_to_binary test/Testlibhercules.c:270
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 35 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407ae8 in container_add_tag_String src/libhercules.c:267
#2 0x4052ef in test_event_to_binary test/Testlibhercules.c:262
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 33 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407c29 in container_add_tag_UUID src/libhercules.c:279
#2 0x405387 in test_event_to_binary test/Testlibhercules.c:264
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 33 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407e39 in container_add_tag_Null src/libhercules.c:290
#2 0x405336 in test_event_to_binary test/Testlibhercules.c:263
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405af2 in main test/Testlibhercules.c:309
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x404e39 in test_event_to_binary test/Testlibhercules.c:241
#2 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#3 0x405af2 in main test/Testlibhercules.c:309
#4 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x401482 in test_event_create test/Testlibhercules.c:23
#2 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#3 0x405abc in main test/Testlibhercules.c:307
#4 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410c87 in list_create (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410c87)
#2 0x40805f in container_add_tag_Vector src/libhercules.c:306
#3 0x4055d3 in test_event_to_binary test/Testlibhercules.c:270
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405af2 in main test/Testlibhercules.c:309
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410c87 in list_create (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410c87)
#2 0x40805f in container_add_tag_Vector src/libhercules.c:306
#3 0x4053d3 in test_event_to_binary test/Testlibhercules.c:265
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405af2 in main test/Testlibhercules.c:309
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x401622 in test_event_with_container test/Testlibhercules.c:34
#2 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#3 0x405ad7 in main test/Testlibhercules.c:308
#4 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407458 in container_add_tag_Integer src/libhercules.c:212
#2 0x401fab in test_event_with_container test/Testlibhercules.c:72
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 31 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4079a4 in container_add_tag_Double src/libhercules.c:256
#2 0x403184 in test_event_with_container test/Testlibhercules.c:136
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 31 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407ae8 in container_add_tag_String src/libhercules.c:267
#2 0x4035da in test_event_with_container test/Testlibhercules.c:152
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 30 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407848 in container_add_tag_Float src/libhercules.c:245
#2 0x402cfb in test_event_with_container test/Testlibhercules.c:120
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 30 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407300 in container_add_tag_Short src/libhercules.c:201
#2 0x401b2d in test_event_with_container test/Testlibhercules.c:56
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407e39 in container_add_tag_Null src/libhercules.c:290
#2 0x403e0e in test_event_with_container test/Testlibhercules.c:185
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4076f2 in container_add_tag_Flag src/libhercules.c:234
#2 0x40287a in test_event_with_container test/Testlibhercules.c:104
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4075af in container_add_tag_Long src/libhercules.c:223
#2 0x402428 in test_event_with_container test/Testlibhercules.c:88
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4071a9 in container_add_tag_Byte src/libhercules.c:190
#2 0x4016b7 in test_event_with_container test/Testlibhercules.c:40
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 29 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407c29 in container_add_tag_UUID src/libhercules.c:279
#2 0x403a14 in test_event_with_container test/Testlibhercules.c:169
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407bf4 in container_add_tag_String src/libhercules.c:274
#3 0x4035da in test_event_with_container test/Testlibhercules.c:152
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407ab4 in container_add_tag_Double src/libhercules.c:262
#3 0x403184 in test_event_with_container test/Testlibhercules.c:136
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x40796f in container_add_tag_Float src/libhercules.c:251
#3 0x402cfb in test_event_with_container test/Testlibhercules.c:120
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407813 in container_add_tag_Flag src/libhercules.c:240
#3 0x40287a in test_event_with_container test/Testlibhercules.c:104
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x4076bd in container_add_tag_Long src/libhercules.c:229
#3 0x402428 in test_event_with_container test/Testlibhercules.c:88
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x40757b in container_add_tag_Integer src/libhercules.c:218
#3 0x401fab in test_event_with_container test/Testlibhercules.c:72
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407425 in container_add_tag_Short src/libhercules.c:207
#3 0x401b2d in test_event_with_container test/Testlibhercules.c:56
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407f0f in container_add_tag_Null src/libhercules.c:295
#3 0x403e0e in test_event_with_container test/Testlibhercules.c:185
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x407e05 in container_add_tag_UUID src/libhercules.c:285
#3 0x403a14 in test_event_with_container test/Testlibhercules.c:169
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410d1c in list_append (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410d1c)
#2 0x4072ca in container_add_tag_Byte src/libhercules.c:196
#3 0x4016b7 in test_event_with_container test/Testlibhercules.c:40
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407cc5 in container_add_tag_UUID src/libhercules.c:283
#2 0x403a14 in test_event_with_container test/Testlibhercules.c:169
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x410c87 in list_create (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410c87)
#2 0x4061a4 in event_create src/libhercules.c:35
#3 0x401664 in test_event_with_container test/Testlibhercules.c:37
#4 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#5 0x405ad7 in main test/Testlibhercules.c:308
#6 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 12 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407b9a in container_add_tag_String src/libhercules.c:272
#2 0x4035da in test_event_with_container test/Testlibhercules.c:152
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x40764b in container_add_tag_Long src/libhercules.c:227
#2 0x402428 in test_event_with_container test/Testlibhercules.c:88
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407a40 in container_add_tag_Double src/libhercules.c:260
#2 0x403184 in test_event_with_container test/Testlibhercules.c:136
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 4 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4074f4 in container_add_tag_Integer src/libhercules.c:216
#2 0x401fab in test_event_with_container test/Testlibhercules.c:72
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 4 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x4078e4 in container_add_tag_Float src/libhercules.c:249
#2 0x402cfb in test_event_with_container test/Testlibhercules.c:120
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 2 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x40739c in container_add_tag_Short src/libhercules.c:205
#2 0x401b2d in test_event_with_container test/Testlibhercules.c:56
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x40778e in container_add_tag_Flag src/libhercules.c:238
#2 0x40287a in test_event_with_container test/Testlibhercules.c:104
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f66f2b4d667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x407245 in container_add_tag_Byte src/libhercules.c:194
#2 0x4016b7 in test_event_with_container test/Testlibhercules.c:40
#3 0x410a91 in UnityDefaultTestRun (/home/ilia/inhavk/libhercules/build/libhercules.out+0x410a91)
#4 0x405ad7 in main test/Testlibhercules.c:308
#5 0x7f66f28fa041 in __libc_start_main (/lib64/libc.so.6+0x27041)
SUMMARY: AddressSanitizer: 957 byte(s) leaked in 42 allocation(s).
src/libhercules.c: In function ‘vector_add_Byte’:
src/libhercules.c:486:13: warning: dereference of possibly-NULL ‘v_byte’ [CWE-690] [-Wanalyzer-possible-null-dereference]
486 | *v_byte = value;
| ~~~~~~~~^~~~~~~
‘vector_add_Byte’: events 1-2
|
| 485 | uint8_t* v_byte = malloc(sizeof(uint8_t));
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 486 | *v_byte = value;
| | ~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_byte’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Short’:
src/libhercules.c:492:14: warning: dereference of possibly-NULL ‘v_short’ [CWE-690] [-Wanalyzer-possible-null-dereference]
492 | *v_short = value;
| ~~~~~~~~~^~~~~~~
‘vector_add_Short’: events 1-2
|
| 491 | int16_t* v_short = malloc(sizeof(int16_t));
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 492 | *v_short = value;
| | ~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_short’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Integer’:
src/libhercules.c:498:16: warning: dereference of possibly-NULL ‘v_integer’ [CWE-690] [-Wanalyzer-possible-null-dereference]
498 | *v_integer = value;
| ~~~~~~~~~~~^~~~~~~
‘vector_add_Integer’: events 1-2
|
| 497 | int32_t* v_integer = malloc(sizeof(int32_t));
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 498 | *v_integer = value;
| | ~~~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_integer’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Long’:
src/libhercules.c:504:13: warning: dereference of possibly-NULL ‘v_long’ [CWE-690] [-Wanalyzer-possible-null-dereference]
504 | *v_long = value;
| ~~~~~~~~^~~~~~~
‘vector_add_Long’: events 1-2
|
| 503 | int64_t* v_long = malloc(sizeof(int64_t));
| | ^~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 504 | *v_long = value;
| | ~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_long’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Flag’:
src/libhercules.c:510:13: warning: dereference of possibly-NULL ‘v_flag’ [CWE-690] [-Wanalyzer-possible-null-dereference]
510 | *v_flag = value;
| ~~~~~~~~^~~~~~~
‘vector_add_Flag’: events 1-2
|
| 509 | char* v_flag = malloc(sizeof(char));
| | ^~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 510 | *v_flag = value;
| | ~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_flag’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Float’:
src/libhercules.c:516:14: warning: dereference of possibly-NULL ‘v_float’ [CWE-690] [-Wanalyzer-possible-null-dereference]
516 | *v_float = value;
| ~~~~~~~~~^~~~~~~
‘vector_add_Float’: events 1-2
|
| 515 | float* v_float = malloc(sizeof(float));
| | ^~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 516 | *v_float = value;
| | ~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_float’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Double’:
src/libhercules.c:522:15: warning: dereference of possibly-NULL ‘v_double’ [CWE-690] [-Wanalyzer-possible-null-dereference]
522 | *v_double = value;
| ~~~~~~~~~~^~~~~~~
‘vector_add_Double’: events 1-2
|
| 521 | double* v_double = malloc(sizeof(double));
| | ^~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 522 | *v_double = value;
| | ~~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_double’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_String’:
src/libhercules.c:528:5: warning: use of possibly-NULL ‘v_string’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]
528 | strcpy(v_string, value);
| ^~~~~~~~~~~~~~~~~~~~~~~
‘vector_add_String’: events 1-2
|
| 527 | char* v_string = malloc(sizeof(char) * strlen(value));
| | ^~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 528 | strcpy(v_string, value);
| | ~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (2) argument 1 (‘v_string’) from (1) could be NULL where non-null expected
|
In file included from src/libhercules.c:3:
/usr/include/string.h:122:14: note: argument 1 of ‘strcpy’ must be non-null
122 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
| ^~~~~~
src/libhercules.c: In function ‘vector_add_UUID’:
src/libhercules.c:534:5: warning: dereference of possibly-NULL ‘v_uuid’ [CWE-690] [-Wanalyzer-possible-null-dereference]
534 | memcpy(v_uuid, value, 16);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
‘vector_add_UUID’: events 1-2
|
| 533 | uint8_t* v_uuid = malloc(sizeof(uint8_t) * 16);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 534 | memcpy(v_uuid, value, 16);
| | ~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_uuid’ could be NULL: unchecked value from (1)
|
src/libhercules.c: In function ‘vector_add_Vector’:
src/libhercules.c:540:24: warning: dereference of possibly-NULL ‘v_vector’ [CWE-690] [-Wanalyzer-possible-null-dereference]
540 | v_vector->datatype = datatype;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
‘vector_add_Vector’: events 1-2
|
| 539 | Vector* v_vector = malloc(sizeof(Vector));
| | ^~~~~~~~~~~~~~~~~~~~~~
| | |
| | (1) this call could return NULL
| 540 | v_vector->datatype = datatype;
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | (2) ‘v_vector’ could be NULL: unchecked value from (1)
|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.