errors reported by cppcheck #3

Closed
opened 5 years ago by Ghost · 1 comments
Ghost commented 5 years ago

If you run cppcheck on ftplib.cpp you get these errors:

[ftplib.cpp:759]: (error) Memory leak: ctrl
[ftplib.cpp:854]: (error) Undefined behavior: Variable 'cmd' is used as parameter and destination in s[n]printf().

Can you have a look on this when you have some spare time?

If you run cppcheck on ftplib.cpp you get these errors: ``` [ftplib.cpp:759]: (error) Memory leak: ctrl [ftplib.cpp:854]: (error) Undefined behavior: Variable 'cmd' is used as parameter and destination in s[n]printf(). ``` Can you have a look on this when you have some spare time?
MicheleC added this to the R14.0.7 release milestone 5 years ago
Owner

Fixed. Thanks for reporting it.

Fixed. Thanks for reporting it.
MicheleC closed this issue 5 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/kasablanca#3
Loading…
There is no content yet.