Skip to content

ftp_fopen_wrapper: do not assume ip is ipv4-sized#13717

Open
crrodriguez wants to merge 1 commit intophp:masterfrom
crrodriguez:ftp-INET6_ADDRSTRLEN
Open

ftp_fopen_wrapper: do not assume ip is ipv4-sized#13717
crrodriguez wants to merge 1 commit intophp:masterfrom
crrodriguez:ftp-INET6_ADDRSTRLEN

Conversation

@crrodriguez
Copy link
Contributor

a safe size for a buffer holding an ip address is INET6_ADDRSTRLEN not sizeof("123.123.123.123")

a safe size for a buffer holding an ip address is INET6_ADDRSTRLEN
not sizeof("123.123.123.123")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant