mz-automation / libiec61850

Official repository for libIEC61850, the open-source library for the IEC 61850 protocols
http://libiec61850.com/libiec61850
GNU General Public License v3.0
878 stars 468 forks source link

Memory leaks in server_example_goose #110

Closed arunm2110 closed 5 years ago

arunm2110 commented 5 years ago

Hi Team, There are multiple memory leak in server_example_goose.c Snip server_example_goose.c In following result, found direct and indirect memory leak. Please find the attached text file to get an idea. Intentional removed lots of result while copy pasting on wire, shows error related to maximum character, so attached txt file for reference.

=============================================================================== libiec61850_multiple_memory_leak_server_example_goose_poc_git.txt

ETHERNET_LINUX: Failed to get interface index -> exit: No such device

================================================================= ==6302==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 2304 byte(s) in 9 object(s) allocated from:

0 0x7f454bb01602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)

#1 0x50e7f5 in Memory_malloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:47
#2 0x42396d in MmsValue_newStringWithSize /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1583
#3 0x423ae0 in MmsValue_newVisibleStringWithSize /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1600
#4 0x422d72 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1457
#5 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#6 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#7 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#8 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#9 0x428fb6 in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:207
#10 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 584 byte(s) in 30 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4220c3 in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1386
#3 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#4 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#5 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#6 0x428fb6 in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:207
#7 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#8 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#9 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#10 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 390 byte(s) in 3 object(s) allocated from:

0 0x7f454bb01602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)

#1 0x50e7f5 in Memory_malloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:47
#2 0x42396d in MmsValue_newStringWithSize /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1583
#3 0x423ae0 in MmsValue_newVisibleStringWithSize /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1600
#4 0x422d72 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1457
#5 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#6 0x45b54e in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:487
#7 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#8 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#9 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#10 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#11 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#12 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#13 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#14 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#15 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 368 byte(s) in 16 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x439d19 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:339
#3 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#4 0x43ce37 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:975
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 256 byte(s) in 4 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x422c6f in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1453
#3 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#4 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#5 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#6 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#7 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#8 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#9 0x428725 in createControlObjects /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:112
#10 0x428ece in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:182
#11 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 256 byte(s) in 4 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x422c6f in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1453
#3 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#4 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#5 0x431cb1 in ControlObject_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/control.c:322
#6 0x428701 in createControlObjects /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:107
#7 0x428ece in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:182
#8 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 256 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x421b60 in MmsValue_newOctetString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1343
#3 0x44d341 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:941
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 240 byte(s) in 10 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4220c3 in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1386
#3 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#4 0x428fb6 in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:207
#5 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#6 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#7 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#8 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 192 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x44ae37 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:840
#3 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#4 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 192 byte(s) in 4 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x43799d in createNamedVariableFromDataAttribute /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:133
#3 0x439ef4 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:351
#4 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#5 0x43cf10 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:981
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 192 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x44ad30 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:836
#3 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#4 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 192 byte(s) in 4 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4220c3 in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1386
#3 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#4 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#5 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#6 0x428725 in createControlObjects /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:112
#7 0x428ece in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:182
#8 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 148 byte(s) in 46 object(s) allocated from:

0 0x7f454bb01602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)

#1 0x50e7f5 in Memory_malloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:47
#2 0x467da2 in StringUtils_copyString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/common/string_utilities.c:45
#3 0x437680 in createNamedVariableFromDataAttribute /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:116
#4 0x439ef4 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:351
#5 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#6 0x43ce37 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:975
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 144 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4220c3 in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1386
#3 0x45b54e in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:487
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 144 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x459f07 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:368
#3 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 136 byte(s) in 24 object(s) allocated from:

0 0x7f454bb01602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)

#1 0x50e7f5 in Memory_malloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:47
#2 0x467da2 in StringUtils_copyString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/common/string_utilities.c:45
#3 0x437680 in createNamedVariableFromDataAttribute /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:116
#4 0x437ae7 in createNamedVariableFromDataAttribute /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:141
#5 0x439ef4 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:351
#6 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#7 0x43cf10 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:981
#8 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#9 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#10 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#11 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#12 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#13 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#14 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#15 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 128 byte(s) in 3 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x43a33e in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:394
#3 0x43ce37 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:975
#4 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#5 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#6 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#7 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#8 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 110 byte(s) in 11 object(s) allocated from:

0 0x7f454bb01602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)

#1 0x50e7f5 in Memory_malloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:47
#2 0x426556 in Asn1PrimitiveValue_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/asn1/asn1_ber_primitive_value.c:31
#3 0x426d49 in BerInteger_createInt32 /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/asn1/ber_integer.c:49
#4 0x4215b4 in MmsValue_newInteger /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1289
#5 0x4223d7 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1405
#6 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#7 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#8 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#9 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#10 0x428fb6 in createMmsServerCache /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:207
#11 0x42a7ff in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:453
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Direct leak of 104 byte(s) in 3 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x43cc2c in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:961
#3 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#4 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#5 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#6 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#7 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#8 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#9 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#10 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x45a96c in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:405
#3 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x436d93 in MmsMapping_createPhyComAddrStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:86
#3 0x45aa02 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:407
#4 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#5 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x436fb9 in MmsMapping_createPhyComAddrStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:92
#3 0x45aa02 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:407
#4 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#5 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x43740d in MmsMapping_createPhyComAddrStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:104
#3 0x45aa02 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:407
#4 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#5 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x45aab3 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:411
#3 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x45acdd in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:418
#3 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x45af07 in createMmsGooseControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:425
#3 0x45b538 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:485
#4 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x423541 in MmsValue_newString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1536
#3 0x42383d in MmsValue_newVisibleString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1569
#4 0x44b1dd in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:850
#5 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#6 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x419fa4 in MmsValue_newBitString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:317
#3 0x449f9c in createTrgOps /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:722
#4 0x44ca85 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:919
#5 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#6 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x421893 in MmsValue_newBoolean /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1317
#3 0x44b4e6 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:859
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x421893 in MmsValue_newBoolean /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1317
#3 0x44b741 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:865
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x423541 in MmsValue_newString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1536
#3 0x42383d in MmsValue_newVisibleString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1569
#4 0x44ba65 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:876
#5 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#6 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x419fa4 in MmsValue_newBitString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:317
#3 0x449e34 in createOptFlds /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:697
#4 0x44c1cd in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:897
#5 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#6 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x41d39a in MmsValue_newUnsignedFromUint32 /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:835
#3 0x44c4d9 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:905
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4216d6 in MmsValue_newUnsigned /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1299
#3 0x44c7ae in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:912
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x41d39a in MmsValue_newUnsignedFromUint32 /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:835
#3 0x44cd99 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:927
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x421893 in MmsValue_newBoolean /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1317
#3 0x44cff4 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:933
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 42 byte(s) in 2 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4219c8 in MmsValue_newOctetString /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1335
#3 0x44d341 in createUnbufferedReportControlBlock /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:941
#4 0x450ea2 in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1215
#5 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x450a7c in Reporting_createMmsUnbufferedRCBs /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/reporting.c:1192
#3 0x43d40f in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1020
#4 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#5 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#6 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#7 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#8 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x45b2a1 in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:470
#3 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#4 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#5 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#6 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#7 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#8 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4399f4 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:319
#3 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#4 0x43db23 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1098
#5 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#6 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#7 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#8 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#9 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#10 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#11 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#12 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x437647 in createNamedVariableFromDataAttribute /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:114
#3 0x439ef4 in createFCNamedVariableFromDataObject /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:351
#4 0x43a4a6 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:405
#5 0x43db23 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1098
#6 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#7 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#8 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#9 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#10 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#11 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#12 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#13 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 28 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x43a121 in createFCNamedVariable /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:377
#3 0x43cf10 in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:981
#4 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#5 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#6 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#7 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#8 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#9 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#10 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#11 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 21 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x421f35 in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1378
#3 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#4 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#5 0x45b54e in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:487
#6 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#7 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#8 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#9 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#10 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#11 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#12 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#13 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#14 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

Indirect leak of 21 byte(s) in 1 object(s) allocated from:

0 0x7f454bb0179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)

#1 0x50e82e in Memory_calloc /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/hal/memory/lib_memory.c:59
#2 0x4228f1 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1440
#3 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#4 0x422f32 in MmsValue_newDefaultValue /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1479
#5 0x42227f in MmsValue_newStructure /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/mms/iso_mms/common/mms_value.c:1391
#6 0x45b54e in GOOSE_createGOOSEControlBlocks /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_goose.c:487
#7 0x43d6ec in createNamedVariableFromLogicalNode /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1058
#8 0x43e4cd in createMmsDomainFromIedDevice /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1193
#9 0x43e714 in createMmsDataModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1215
#10 0x43ed8c in createMmsModelFromIedModel /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1298
#11 0x43f045 in MmsMapping_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/mms_mapping/mms_mapping.c:1344
#12 0x42a317 in IedServer_createWithConfig /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:430
#13 0x42a97d in IedServer_create /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/src/iec61850/server/impl/ied_server.c:483
#14 0x417536 in main /home/rootkill3r/fuzzing/61850/libiec61850-1.3.0/examples/server_example_goose/server_example_goose.c:56
#15 0x7f454b4a282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

SUMMARY: AddressSanitizer: 16709 byte(s) leaked in 823 allocation(s).

mzillgith commented 5 years ago

Hi. I cannot reproduce this problem with current v1.3 and v1.4 branches.