-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685910
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686270
There are 2 patches
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=685910;filename=gftp-ipv6-dataconn.patch;msg=5
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=686270;filename=gftp-ipv6-dataconn2.patch;msg=5
Both patches have been partially applied (one way or another), but it's obviously broken because of this line in socket-connect.c
memcpy (request->remote_addr, &((struct sockaddr_in *) current_hostp->ai_addr)->sin_addr, request->remote_addr_len);There's no logic to copy sin6_addr if protocol is AF_INET6. This is easy to fix, but how to test it
Metadata
Metadata
Assignees
Labels
No labels