Skip to content

Conversation

@cmb69
Copy link
Member

@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.

2 participants