Project

General

Profile

Actions

Bug #2951

closed

valgrind warnings in ftp

Added by Victor Julien over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

==18605== HEAP SUMMARY:
==18605==     in use at exit: 35,808 bytes in 447 blocks
==18605==   total heap usage: 25,366,925 allocs, 25,366,478 frees, 2,506,428,126 bytes allocated
==18605== 
==18605== Searching for pointers to 447 not-freed blocks
==18605== Checked 421,360 bytes
==18605== 
==18605== LEAK SUMMARY:
==18605==    definitely lost: 0 bytes in 0 blocks
==18605==    indirectly lost: 0 bytes in 0 blocks
==18605==      possibly lost: 0 bytes in 0 blocks
==18605==    still reachable: 35,808 bytes in 447 blocks
==18605==         suppressed: 0 bytes in 0 blocks
==18605== Reachable blocks (those to which a pointer was found) are not shown.
==18605== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18605== 
==18605== Use --track-origins=yes to see where uninitialised values come from
==18605== ERROR SUMMARY: 56 errors from 15 contexts (suppressed: 0 from 0)
==18605== 
==18605== 1 errors in context 1 of 15:
==18605== Thread 27 W#25:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x1796A9: FTPParseRequest (app-layer-ftp.c:507)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33C513: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18605==    by 0x33D0A2: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605==    by 0x344E5D: StreamTcpPacket (stream-tcp.c:4798)
==18605==    by 0x3457AC: StreamTcp (stream-tcp.c:5134)
==18605== 
==18605== 
==18605== 1 errors in context 2 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x1799D9: FTPParseResponse (app-layer-ftp.c:621)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605==    by 0x344E5D: StreamTcpPacket (stream-tcp.c:4798)
==18605==    by 0x3457AC: StreamTcp (stream-tcp.c:5134)
==18605== 
==18605== 
==18605== 1 errors in context 3 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x179384: ftp_validate_port (app-layer-ftp.c:385)
==18605==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605== 
==18605== 
==18605== 1 errors in context 4 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x17937B: ftp_validate_port (app-layer-ftp.c:385)
==18605==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605== 
==18605== 
==18605== 1 errors in context 5 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x53396DB: ____strtol_l_internal (strtol_l.c:490)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 1 errors in context 6 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x53394D4: ____strtol_l_internal (strtol_l.c:464)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 2 errors in context 7 of 15:
==18605== Thread 6 W#04:
==18605== Use of uninitialised value of size 8
==18605==    at 0x53394C7: ____strtol_l_internal (strtol_l.c:461)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 3 errors in context 8 of 15:
==18605== Thread 27 W#25:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x5339480: ____strtol_l_internal (strtol_l.c:467)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 3 errors in context 9 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x53394D9: ____strtol_l_internal (strtol_l.c:467)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 4 errors in context 10 of 15:
==18605== Thread 24 W#22:
==18605== Use of uninitialised value of size 8
==18605==    at 0x53394BF: ____strtol_l_internal (strtol_l.c:460)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 4 errors in context 11 of 15:
==18605== Thread 27 W#25:
==18605== Invalid read of size 1
==18605==    at 0x533949B: ____strtol_l_internal (strtol_l.c:432)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605==  Address 0x1fd6aeb7 is 0 bytes after a block of size 23 alloc'd
==18605==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18605==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18605==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18605==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33C513: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18605==    by 0x33D0A2: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18605== 
==18605== 
==18605== 5 errors in context 12 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x53394B0: ____strtol_l_internal (strtol_l.c:436)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== 
==18605== 8 errors in context 13 of 15:
==18605== Thread 11 W#09:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x177A6C: AppLayerExpectationHandle (app-layer-expectation.c:296)
==18605==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18605==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18605==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18605==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33C513: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18605==    by 0x33D0A2: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605== 
==18605== 
==18605== 8 errors in context 14 of 15:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x177A57: AppLayerExpectationHandle (app-layer-expectation.c:295)
==18605==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18605==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18605==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18605==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33C513: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18605==    by 0x33D0A2: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18605==    by 0x3446CF: StreamTcpStateDispatch (stream-tcp.c:4617)
==18605== 
==18605== 
==18605== 13 errors in context 15 of 15:
==18605== Thread 27 W#25:
==18605== Conditional jump or move depends on uninitialised value(s)
==18605==    at 0x53394A7: ____strtol_l_internal (strtol_l.c:434)
==18605==    by 0x53352CF: atoi (atoi.c:27)
==18605==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18605==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18605==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18605==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18605==    by 0x34D494: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18605==    by 0x34D65A: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18605==    by 0x34E80F: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18605==    by 0x34E93E: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18605==    by 0x33BD14: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18605==    by 0x33D058: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18605== 
==18605== ERROR SUMMARY: 56 errors from 15 contexts (suppressed: 0 from 0)
ERROR: Job failed: exit code 1

Actions #1

Updated by Jeff Lucovsky over 5 years ago

What valgrind version and valgrind options were used to produce these results?

Can valgrind be executed with "--track-origins=yes"? E.g., if the FTP state object has been allocated properly, then the memory for the object has been zero-filled which implicitly initializes "dyn_port".

Wondering if better diagnostics would result with "--track-origins=yes"?

Actions #2

Updated by Victor Julien over 5 years ago

FTPRealloc uses SCRealloc with wraps realloc. The latter does not return 0-initialized memory and our wrappers don't do this either. app-layer-ftp.c:482 looks a bit suspicious as it reallocs to a len + 1, but only copies to match the len. So the +1 byte remains uninitialized. Wonder if that could be related?

Still running the test with the extra options, will post the results when it is complete.

Actions #3

Updated by Victor Julien over 5 years ago

$ valgrind --error-exitcode=255 --suppressions=../qa-tools/valgrind.suppress -v --leak-check=full --track-origins=yes ./src/suricata -c suricata.yaml --set classification-file=classification.config --set reference-config-file=reference.config -S rules/http-events.rules -l /tmp/ -v -k none -r /qa/sandnet.pcap
==18602== Memcheck, a memory error detector
==18602== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18602== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info
==18602== Command: ./src/suricata -c suricata.yaml --set classification-file=classification.config --set reference-config-file=reference.config -S rules/http-events.rules -l /tmp/ -v -k none -r /qa/sandnet.pcap
==18602== 
--18602-- Valgrind options:
--18602--    --error-exitcode=255
--18602--    --suppressions=../qa-tools/valgrind.suppress
--18602--    -v
--18602--    --leak-check=full
--18602--    --track-origins=yes
--18602-- Contents of /proc/version:
--18602--   Linux version 4.15.0-48-generic (buildd@lgw01-amd64-036) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019
--18602-- 
--18602-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--18602-- Page sizes: currently 4096, max supported 4096
--18602-- Valgrind library directory: /usr/lib/x86_64-linux-gnu/valgrind
--18602-- Reading syms from /builds/inliniac/suricata-ci/suricata/src/suricata
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-2.29.so
--18602--   Considering /usr/lib/x86_64-linux-gnu/ld-2.29.so ..
--18602--   .. CRC mismatch (computed c34345a7 wanted 87a50cbd)
--18602--   Considering /lib/x86_64-linux-gnu/ld-2.29.so ..
--18602--   .. CRC mismatch (computed c34345a7 wanted 87a50cbd)
--18602--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.29.so ..
--18602--   .. CRC is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/memcheck-amd64-linux
--18602--    object doesn't have a symbol table
--18602--    object doesn't have a dynamic symbol table
--18602-- Scheduler: using generic scheduler lock implementation.
--18602-- Reading suppressions file: ../qa-tools/valgrind.suppress
--18602-- Reading suppressions file: /usr/lib/x86_64-linux-gnu/valgrind/default.supp
==18602== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-18602-by-???-on-runner-91d7e776-project-2-concurrent-3
==18602== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-18602-by-???-on-runner-91d7e776-project-2-concurrent-3
==18602== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-18602-by-???-on-runner-91d7e776-project-2-concurrent-3
==18602== 
==18602== TO CONTROL THIS PROCESS USING vgdb (which you probably
==18602== don't want to do, unless you know exactly what you're doing,
==18602== or are doing some strange experiment):
==18602==   /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=18602 ...command...
==18602== 
==18602== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==18602==   /path/to/gdb ./src/suricata
==18602== and then give GDB the following command
==18602==   target remote | /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=18602
==18602== --pid is optional if only one valgrind process is running
==18602== 
--18602-- REDIR: 0x4020900 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c7e62 (???)
--18602-- REDIR: 0x40206e0 (ld-linux-x86-64.so.2:index) redirected to 0x580c7e7c (???)
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_core-amd64-linux.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so
--18602--    object doesn't have a symbol table
==18602== WARNING: new redirection conflicts with existing -- ignoring it
--18602--     old: 0x04020900 (strlen              ) R-> (0000.0) 0x580c7e62 ???
--18602--     new: 0x04020900 (strlen              ) R-> (2007.0) 0x0483bd50 strlen
--18602-- REDIR: 0x401d120 (ld-linux-x86-64.so.2:strcmp) redirected to 0x483ce10 (strcmp)
--18602-- REDIR: 0x4020e40 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4840830 (mempcpy)
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/liblua5.1.so.0.0.0
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libdl-2.29.so
--18602--   Considering /usr/lib/x86_64-linux-gnu/libdl-2.29.so ..
--18602--   .. CRC mismatch (computed 2b258fba wanted d41115d0)
--18602--   Considering /lib/x86_64-linux-gnu/libdl-2.29.so ..
--18602--   .. CRC mismatch (computed 2b258fba wanted d41115d0)
--18602--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.29.so ..
--18602--   .. CRC is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/librt-2.29.so
--18602--   Considering /usr/lib/x86_64-linux-gnu/librt-2.29.so ..
--18602--   .. CRC mismatch (computed e7e20e8b wanted 79144663)
--18602--   Considering /lib/x86_64-linux-gnu/librt-2.29.so ..
--18602--   .. CRC mismatch (computed e7e20e8b wanted 79144663)
--18602--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.29.so ..
--18602--   .. CRC is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libm-2.29.so
--18602--   Considering /usr/lib/x86_64-linux-gnu/libm-2.29.so ..
--18602--   .. CRC mismatch (computed 20ae39ce wanted 54a9b04f)
--18602--   Considering /lib/x86_64-linux-gnu/libm-2.29.so ..
--18602--   .. CRC mismatch (computed 20ae39ce wanted 54a9b04f)
--18602--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.29.so ..
--18602--   .. CRC is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libmagic.so.1.0.0
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libcap-ng.so.0.0.0
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libpcap.so.1.8.1
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libnet.so.1.7.0
--18602--   Considering /usr/lib/x86_64-linux-gnu/libnet.so.1.7.0 ..
--18602--   .. CRC mismatch (computed 06d7e875 wanted a33c5e2e)
--18602--   Considering /lib/x86_64-linux-gnu/libnet.so.1.7.0 ..
--18602--   .. CRC mismatch (computed 06d7e875 wanted a33c5e2e)
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libjansson.so.4.11.1
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libpthread-2.29.so
--18602--   Considering /usr/lib/debug/.build-id/d4/82f46b32cdaedf951b4e59b1d7b2e71b1645aa.debug ..
--18602--   .. build-id is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libyaml-0.so.2.0.5
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libpcre.so.3.13.3
--18602--   Considering /usr/lib/debug/.build-id/e6/534e2cc2aadddba0f94cd1e833fce53fe3db83.debug ..
--18602--   .. build-id is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libz.so.1.2.11
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libnss3.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libnspr4.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libc-2.29.so
--18602--   Considering /usr/lib/x86_64-linux-gnu/libc-2.29.so ..
--18602--   .. CRC mismatch (computed 6bda65da wanted 2c1cad96)
--18602--   Considering /lib/x86_64-linux-gnu/libc-2.29.so ..
--18602--   .. CRC mismatch (computed 6bda65da wanted 2c1cad96)
--18602--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.29.so ..
--18602--   .. CRC is valid
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libnssutil3.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libplc4.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libplds4.so
--18602--    object doesn't have a symbol table
--18602-- REDIR: 0x538e240 (libc.so.6:memmove) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d3e0 (libc.so.6:strncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e560 (libc.so.6:strcasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538cd20 (libc.so.6:strcat) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d440 (libc.so.6:rindex) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538fd10 (libc.so.6:rawmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x53ab330 (libc.so.6:wmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x53aad40 (libc.so.6:wcscmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e3a0 (libc.so.6:mempcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e1d0 (libc.so.6:bcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d380 (libc.so.6:strncmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538cdd0 (libc.so.6:strcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e300 (libc.so.6:memset) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x53aad00 (libc.so.6:wcschr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d2e0 (libc.so.6:strnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538cea0 (libc.so.6:strcspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e5b0 (libc.so.6:strncasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538ce40 (libc.so.6:strcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e6f0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x53ac650 (libc.so.6:wcsnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d480 (libc.so.6:strpbrk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538cd80 (libc.so.6:index) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d2a0 (libc.so.6:strlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x5397240 (libc.so.6:memrchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e600 (libc.so.6:strcasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e190 (libc.so.6:memchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x53aae30 (libc.so.6:wcslen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538d720 (libc.so.6:strspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e500 (libc.so.6:stpncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e4a0 (libc.so.6:stpcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538fd50 (libc.so.6:strchrnul) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e650 (libc.so.6:strncasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x541d0d0 (libc.so.6:__memcpy_chk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x538e0d0 (libc.so.6:strstr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--18602-- REDIR: 0x5475ec0 (libc.so.6:__strrchr_avx2) redirected to 0x483b760 (rindex)
--18602-- REDIR: 0x5479500 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x483f760 (memset)
--18602-- REDIR: 0x54715d0 (libc.so.6:__strcmp_avx2) redirected to 0x483ccd0 (strcmp)
--18602-- REDIR: 0x5388a40 (libc.so.6:malloc) redirected to 0x48386e0 (malloc)
--18602-- REDIR: 0x5476090 (libc.so.6:__strlen_avx2) redirected to 0x483bc30 (strlen)
--18602-- REDIR: 0x5479080 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x483f870 (memmove)
--18602-- REDIR: 0x5389470 (libc.so.6:realloc) redirected to 0x483acd0 (realloc)
--18602-- REDIR: 0x5389a00 (libc.so.6:calloc) redirected to 0x483aa80 (calloc)
--18602-- REDIR: 0x5475aa0 (libc.so.6:__strchr_avx2) redirected to 0x483b8e0 (index)
--18602-- REDIR: 0x5471a10 (libc.so.6:__strncmp_avx2) redirected to 0x483c3e0 (strncmp)
--18602-- REDIR: 0x53891d0 (libc.so.6:free) redirected to 0x4839910 (free)
--18602-- REDIR: 0x538dc70 (libc.so.6:__GI_strstr) redirected to 0x4840a90 (__strstr_sse2)
--18602-- REDIR: 0x5475cd0 (libc.so.6:__strchrnul_avx2) redirected to 0x4840360 (strchrnul)
--18602-- REDIR: 0x5472a80 (libc.so.6:__strcasecmp_avx) redirected to 0x483c5a0 (strcasecmp)
--18602-- REDIR: 0x5479060 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4840470 (mempcpy)
[18602] 1/5/2019 -- 06:01:13 - (suricata.c:1071) <Notice> (LogVersion) -- This is Suricata version 5.0.0-dev running in USER mode
--18602-- REDIR: 0x5471f20 (libc.so.6:__memchr_avx2) redirected to 0x483ceb0 (memchr)
[18602] 1/5/2019 -- 06:01:13 - (util-cpu.c:171) <Info> (UtilCpuPrintSummary) -- CPUs/cores online: 28
--18602-- REDIR: 0x54726a0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x483f030 (bcmp)
--18602-- REDIR: 0x54714a0 (libc.so.6:__strspn_sse42) redirected to 0x4840c90 (strspn)
--18602-- REDIR: 0x54711e0 (libc.so.6:__strcspn_sse42) redirected to 0x4840bd0 (strcspn)
--18602-- REDIR: 0x54775c0 (libc.so.6:__strcpy_avx2) redirected to 0x483bd80 (strcpy)
--18602-- REDIR: 0x5479070 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4840920 (__memcpy_chk)
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
--18602--    object doesn't have a symbol table
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
--18602--    object doesn't have a symbol table
--18602-- REDIR: 0x5477950 (libc.so.6:__strncpy_avx2) redirected to 0x483bf20 (strncpy)
--18602-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libfreeblpriv3.so
--18602--    object doesn't have a symbol table
--18602-- REDIR: 0x538a9e0 (libc.so.6:posix_memalign) redirected to 0x483af90 (posix_memalign)
--18602-- REDIR: 0x5476220 (libc.so.6:__strnlen_avx2) redirected to 0x483bbd0 (strnlen)
--18602-- REDIR: 0x53a9940 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4840a20 (strstr)
[18602] 1/5/2019 -- 06:01:16 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- fast output device (regular) initialized: fast.log
[18602] 1/5/2019 -- 06:01:16 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- eve-log output device (regular) initialized: eve.json
[18602] 1/5/2019 -- 06:01:16 - (util-logopenfile.c:476) <Info> (SCConfLogOpenGeneric) -- stats output device (regular) initialized: stats.log
--18602-- REDIR: 0x5471360 (libc.so.6:__strpbrk_sse42) redirected to 0x4840b70 (strpbrk)
[18602] 1/5/2019 -- 06:01:16 - (detect-engine-loader.c:351) <Info> (SigLoadSignatures) -- 1 rule files processed. 34 rules successfully loaded, 0 rules failed
--18602-- REDIR: 0x54782b0 (libc.so.6:__stpcpy_avx2) redirected to 0x483f150 (stpcpy)
[18602] 1/5/2019 -- 06:01:16 - (util-threshold-config.c:248) <Warning> (SCThresholdConfInitContext) -- [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "/usr/local/etc/suricata//threshold.config": No such file or directory
[18602] 1/5/2019 -- 06:01:16 - (detect-engine-build.c:1426) <Info> (SigAddressPrepareStage1) -- 34 signatures processed. 0 are IP-only rules, 0 are inspecting packet payload, 34 inspect application layer, 0 are decoder event only
[18602] 1/5/2019 -- 06:01:23 - (tm-threads.c:2157) <Notice> (TmThreadWaitOnThreadInit) -- all 29 packet processing threads, 4 management threads initialized, engine started.
[18603] 1/5/2019 -- 06:01:23 - (source-pcap-file.c:176) <Info> (ReceivePcapFileLoop) -- Starting file run for /qa/sandnet.pcap
[18603] 1/5/2019 -- 06:01:44 - (util-checksum.c:89) <Info> (ChecksumAutoModeCheck) -- No packets with invalid checksum, assuming checksum offloading is NOT used
--18602-- REDIR: 0x5472330 (libc.so.6:__memrchr_avx2) redirected to 0x483cf30 (memrchr)
==18602== Thread 12 W#10:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394A7: ____strtol_l_internal (strtol_l.c:434)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Thread 7 W#05:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394B0: ____strtol_l_internal (strtol_l.c:436)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Use of uninitialised value of size 8
==18602==    at 0x53394BF: ____strtol_l_internal (strtol_l.c:460)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Thread 15 W#13:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394D4: ____strtol_l_internal (strtol_l.c:464)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Invalid read of size 1
==18602==    at 0x533949B: ____strtol_l_internal (strtol_l.c:432)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Address 0x5bd1509 is 0 bytes after a block of size 25 alloc'd
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394D9: ____strtol_l_internal (strtol_l.c:467)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x5339480: ____strtol_l_internal (strtol_l.c:467)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53396DB: ____strtol_l_internal (strtol_l.c:490)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x17937B: ftp_validate_port (app-layer-ftp.c:385)
==18602==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x179384: ftp_validate_port (app-layer-ftp.c:385)
==18602==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x1799D9: FTPParseResponse (app-layer-ftp.c:621)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==    by 0x344ECE: StreamTcpPacket (stream-tcp.c:4798)
==18602==    by 0x34581D: StreamTcp (stream-tcp.c:5134)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x1796A9: FTPParseRequest (app-layer-ftp.c:507)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==    by 0x344ECE: StreamTcpPacket (stream-tcp.c:4798)
==18602==    by 0x34581D: StreamTcp (stream-tcp.c:5134)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Thread 16 W#14:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A57: AppLayerExpectationHandle (app-layer-expectation.c:295)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18602==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A6C: AppLayerExpectationHandle (app-layer-expectation.c:296)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18602==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Thread 17 W#15:
==18602== Use of uninitialised value of size 8
==18602==    at 0x53394C7: ____strtol_l_internal (strtol_l.c:461)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
--18602-- REDIR: 0x54721f0 (libc.so.6:__rawmemchr_avx2) redirected to 0x4840390 (rawmemchr)
==18602== Thread 23 W#21:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A57: AppLayerExpectationHandle (app-layer-expectation.c:295)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12DBAD: AppLayerHandleUdp (app-layer.c:696)
==18602==    by 0x29C1E0: FlowWorker (flow-worker.c:248)
==18602==    by 0x35E864: TmThreadsSlotVarRun (tm-threads.c:128)
==18602==    by 0x35F937: TmThreadsSlotVar (tm-threads.c:583)
==18602==    by 0x4E85181: start_thread (pthread_create.c:486)
==18602==    by 0x540DB1E: clone (clone.S:95)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A6C: AppLayerExpectationHandle (app-layer-expectation.c:296)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12DBAD: AppLayerHandleUdp (app-layer.c:696)
==18602==    by 0x29C1E0: FlowWorker (flow-worker.c:248)
==18602==    by 0x35E864: TmThreadsSlotVarRun (tm-threads.c:128)
==18602==    by 0x35F937: TmThreadsSlotVar (tm-threads.c:583)
==18602==    by 0x4E85181: start_thread (pthread_create.c:486)
==18602==    by 0x540DB1E: clone (clone.S:95)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
[18603] 1/5/2019 -- 10:09:27 - (source-pcap-file-helper.c:149) <Info> (PcapFileDispatch) -- pcap file /qa/sandnet.pcap end of file reached (pcap err code 0)
[18602] 1/5/2019 -- 10:09:27 - (suricata.c:2841) <Notice> (SuricataMainLoop) -- Signal Received.  Stopping engine.
--18602-- REDIR: 0x54740f0 (libc.so.6:__strncasecmp_avx) redirected to 0x483c660 (strncasecmp)
[18602] 1/5/2019 -- 10:09:55 - (suricata.c:1091) <Info> (SCPrintElapsedTime) -- time elapsed 14918.451s
[18603] 1/5/2019 -- 10:10:29 - (source-pcap-file.c:378) <Notice> (ReceivePcapFileThreadExitStats) -- Pcap-file module read 1 files, 1354508 packets, 413760573 bytes
[18602] 1/5/2019 -- 10:10:31 - (counters.c:849) <Info> (StatsLogSummary) -- Alerts: 69
[18602] 1/5/2019 -- 10:10:33 - (detect-engine-build.c:1732) <Info> (SigAddressCleanupStage1) -- cleaning up signature grouping structure... complete
--18602-- Discarding syms at 0x5e88300-0x5ee97ed in /usr/lib/x86_64-linux-gnu/nss/libfreeblpriv3.so (have_dinfo 1)
--18602-- Discarding syms at 0x5d23850-0x5d516ec in /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so (have_dinfo 1)
--18602-- Discarding syms at 0x5d72320-0x5e4aa20 in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 (have_dinfo 1)
==18602== 
==18602== HEAP SUMMARY:
==18602==     in use at exit: 35,808 bytes in 447 blocks
==18602==   total heap usage: 25,860,124 allocs, 25,859,677 frees, 2,618,614,502 bytes allocated
==18602== 
==18602== Searching for pointers to 447 not-freed blocks
==18602== Checked 421,392 bytes
==18602== 
==18602== LEAK SUMMARY:
==18602==    definitely lost: 0 bytes in 0 blocks
==18602==    indirectly lost: 0 bytes in 0 blocks
==18602==      possibly lost: 0 bytes in 0 blocks
==18602==    still reachable: 35,808 bytes in 447 blocks
==18602==         suppressed: 0 bytes in 0 blocks
==18602== Reachable blocks (those to which a pointer was found) are not shown.
==18602== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18602== 
==18602== ERROR SUMMARY: 83 errors from 17 contexts (suppressed: 0 from 0)
==18602== 
==18602== 1 errors in context 1 of 17:
==18602== Thread 17 W#15:
==18602== Use of uninitialised value of size 8
==18602==    at 0x53394C7: ____strtol_l_internal (strtol_l.c:461)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 2 errors in context 2 of 17:
==18602== Thread 23 W#21:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A6C: AppLayerExpectationHandle (app-layer-expectation.c:296)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12DBAD: AppLayerHandleUdp (app-layer.c:696)
==18602==    by 0x29C1E0: FlowWorker (flow-worker.c:248)
==18602==    by 0x35E864: TmThreadsSlotVarRun (tm-threads.c:128)
==18602==    by 0x35F937: TmThreadsSlotVar (tm-threads.c:583)
==18602==    by 0x4E85181: start_thread (pthread_create.c:486)
==18602==    by 0x540DB1E: clone (clone.S:95)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 2 errors in context 3 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A57: AppLayerExpectationHandle (app-layer-expectation.c:295)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12DBAD: AppLayerHandleUdp (app-layer.c:696)
==18602==    by 0x29C1E0: FlowWorker (flow-worker.c:248)
==18602==    by 0x35E864: TmThreadsSlotVarRun (tm-threads.c:128)
==18602==    by 0x35F937: TmThreadsSlotVar (tm-threads.c:583)
==18602==    by 0x4E85181: start_thread (pthread_create.c:486)
==18602==    by 0x540DB1E: clone (clone.S:95)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 2 errors in context 4 of 17:
==18602== Thread 7 W#05:
==18602== Use of uninitialised value of size 8
==18602==    at 0x53394BF: ____strtol_l_internal (strtol_l.c:460)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 3 errors in context 5 of 17:
==18602== Thread 15 W#13:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x5339480: ____strtol_l_internal (strtol_l.c:467)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 3 errors in context 6 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394D9: ____strtol_l_internal (strtol_l.c:467)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 7 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x1796A9: FTPParseRequest (app-layer-ftp.c:507)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==    by 0x344ECE: StreamTcpPacket (stream-tcp.c:4798)
==18602==    by 0x34581D: StreamTcp (stream-tcp.c:5134)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 8 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x1799D9: FTPParseResponse (app-layer-ftp.c:621)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==    by 0x344ECE: StreamTcpPacket (stream-tcp.c:4798)
==18602==    by 0x34581D: StreamTcp (stream-tcp.c:5134)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 9 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x179384: ftp_validate_port (app-layer-ftp.c:385)
==18602==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 10 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x17937B: ftp_validate_port (app-layer-ftp.c:385)
==18602==    by 0x1794CB: FTPGetV4PortNumber (app-layer-ftp.c:436)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 11 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53396DB: ____strtol_l_internal (strtol_l.c:490)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 4 errors in context 12 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394D4: ____strtol_l_internal (strtol_l.c:464)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 6 errors in context 13 of 17:
==18602== Thread 7 W#05:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394B0: ____strtol_l_internal (strtol_l.c:436)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 7 errors in context 14 of 17:
==18602== Thread 15 W#13:
==18602== Invalid read of size 1
==18602==    at 0x533949B: ____strtol_l_internal (strtol_l.c:432)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Address 0x5bd1509 is 0 bytes after a block of size 25 alloc'd
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 10 errors in context 15 of 17:
==18602== Thread 16 W#14:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A6C: AppLayerExpectationHandle (app-layer-expectation.c:296)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18602==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 10 errors in context 16 of 17:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x177A57: AppLayerExpectationHandle (app-layer-expectation.c:295)
==18602==    by 0x137CD4: AppLayerProtoDetectPEGetProto (app-layer-detect-proto.c:442)
==18602==    by 0x13AF6C: AppLayerProtoDetectGetProto (app-layer-detect-proto.c:1529)
==18602==    by 0x12D1E2: TCPProtoDetect (app-layer.c:328)
==18602==    by 0x12D961: AppLayerHandleTCPData (app-layer.c:601)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602==    by 0x344740: StreamTcpStateDispatch (stream-tcp.c:4617)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== 
==18602== 13 errors in context 17 of 17:
==18602== Thread 12 W#10:
==18602== Conditional jump or move depends on uninitialised value(s)
==18602==    at 0x53394A7: ____strtol_l_internal (strtol_l.c:434)
==18602==    by 0x53352CF: atoi (atoi.c:27)
==18602==    by 0x17946D: FTPGetV4PortNumber (app-layer-ftp.c:430)
==18602==    by 0x1799CF: FTPParseResponse (app-layer-ftp.c:620)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33BD85: HandleEstablishedPacketToServer (stream-tcp.c:2224)
==18602==    by 0x33D0C9: StreamTcpPacketStateEstablished (stream-tcp.c:2598)
==18602==  Uninitialised value was created by a heap allocation
==18602==    at 0x483867F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x483ADB7: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==18602==    by 0x178A78: FTPRealloc (app-layer-ftp.c:173)
==18602==    by 0x1795ED: FTPParseRequest (app-layer-ftp.c:481)
==18602==    by 0x18B208: AppLayerParserParse (app-layer-parser.c:1187)
==18602==    by 0x12DABA: AppLayerHandleTCPData (app-layer.c:646)
==18602==    by 0x34D505: ReassembleUpdateAppLayer (stream-tcp-reassemble.c:1070)
==18602==    by 0x34D6CB: StreamTcpReassembleAppLayer (stream-tcp-reassemble.c:1140)
==18602==    by 0x34E880: StreamTcpReassembleHandleSegmentUpdateACK (stream-tcp-reassemble.c:1706)
==18602==    by 0x34E9AF: StreamTcpReassembleHandleSegment (stream-tcp-reassemble.c:1749)
==18602==    by 0x33C584: HandleEstablishedPacketToClient (stream-tcp.c:2375)
==18602==    by 0x33D113: StreamTcpPacketStateEstablished (stream-tcp.c:2612)
==18602== 
==18602== ERROR SUMMARY: 83 errors from 17 contexts (suppressed: 0 from 0)
ERROR: Job failed: exit code 1
Actions #4

Updated by Victor Julien over 5 years ago

  • Assignee changed from Jeff Lucovsky to Victor Julien
  • Priority changed from High to Normal
Actions #5

Updated by Victor Julien over 5 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF