Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Oct 6, 2025

In a case where rubbish would be sent in the line something that isn't a digit could be first in line and treated as less than '3'. Prevent this risk by first doing a check that the byte is a digit.

In a case where rubbish would be sent in the line something that isn't a
digit could be first in line and treated as less than '3'. Prevent this
risk by first doing a check that the byte is a digit.
@bagder bagder added the FTP label Oct 6, 2025
@bagder bagder marked this pull request as ready for review October 6, 2025 08:22
@bagder bagder closed this in 6ef4871 Oct 6, 2025
@bagder bagder deleted the bagder/ftp-digit-check branch October 6, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant