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

Fix #80901: Info leak in ftp extension #6894

Closed
wants to merge 3 commits into from
Closed

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Apr 21, 2021

We need to make sure that inbuf is always NUL terminated, even if there is no (CR)LF, what causes the function to fail, because in that case the buffer may be used for an error message.

@cmb69 cmb69 marked this pull request as ready for review April 22, 2021 12:15
@cmb69 cmb69 added the Bug label Apr 22, 2021
@cmb69 cmb69 closed this in 09696ee Apr 26, 2021
cmb69 added a commit that referenced this pull request Apr 26, 2021
We ensure that inbuf is NUL terminated on `ftp_readline()` failure.

Closes GH-6894.
@cmb69 cmb69 deleted the cmb/80901 branch April 26, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants