Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer overflow when changing datasets on z/OS #734

Open
Eragon615 opened this issue Aug 14, 2024 · 0 comments
Open

buffer overflow when changing datasets on z/OS #734

Eragon615 opened this issue Aug 14, 2024 · 0 comments

Comments

@Eragon615
Copy link

I use lftp on IBM Mainframe OSes like z/OS and z/VM as it supports FTPS. However, when connecting to a z/OS system and attempting to cd to a new dataset (I'll put a brief description of what datasets are at the bottom) I get a buffer overflow along with a core dump. The regular linux ftp app works correctly, but as far as I know it doesn't support FTPS.

The other functions seem to work okay, at least ls is displaying the default prefix without failing.

I'm sure you probably didn't test for z/VM or z/OS compatibility and in fact I wouldn't be surprised if you've never even heard of them, but if there's any chance you could fix this, it'd really help me out. And of course, I'd be willing to help out however I can if you need info gathered or things tested.

As for a dataset, in case you aren't familiar, they are how data is stored and organized on z/OS systems. They are made up of one or more qualifiers separated by periods, each being no more than 8 characters long. They can be defined diffidently to function like a flat file, they can store so called "members" and work more like a directory, or they can even be used to store data like databases with keyed entries.

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

No branches or pull requests

1 participant