freebsd-ports/ftp/IglooFTP/files/patch-FTP.c
Andrey Slusar d9fb332eb9 - Fix "chunk already allocated" error
- Add sanity checking to avoid GTK assertion errors due to missing
  pixmaps.
- Resolve two known vulnerabilities:
  http://secunia.com/advisories/13536/
- Replace tmpnam with mkstemp
- Disallow server-provided absolute filenames
  Hopefully that's enough to get the port back in action.

PR:		ports/92787
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-02-06 19:14:54 +00:00

16 lines
318 B
C

--- FTP.c.orig Thu Apr 15 20:05:13 1999
+++ FTP.c Mon May 3 12:59:56 1999
@@ -15,12 +15,12 @@
*/
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <arpa/telnet.h>
-#include <sys/types.h>
#include <sys/time.h>
#include <resolv.h>