Skip to content

Conversation

@scarabeusiv
Copy link

Hi we at openSUSE had a crazy patchset that allows creating ftp wrapper using lftp.

I would like to merge this upstream, atm that is not really possible like one fo the files is C instead of C++ and so on. But before we start to really review this it would be nice to get info if we are doing something really bad based on current codebase (the actual patches are from around 2005...)

@lavv17
Copy link
Owner

lavv17 commented Apr 13, 2018

AFAIK, the edit command is already implemented in lftp. Memory management can be improved using x* containers (xstring etc). Please consider configure --without-modules too.

@lavv17
Copy link
Owner

lavv17 commented Dec 26, 2018

cmd_edit has clearly a memory leak.

@peti peti force-pushed the master branch 4 times, most recently from 4555d5d to fa07923 Compare March 1, 2019 13:59
scarabeusiv and others added 5 commits July 31, 2025 11:03
If the instance isn't deinitialized prior to exit, the
OPENSSL_cleanup exit handler may run before the
lftp_ssl_openssl_instance destructor on exit resulting
in a segfault.

This fixes a null deref on exit.

Fixes lavv17#716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants