freebsd-ports/ftp/IglooFTP/files/patch-dir_tree.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

10 lines
383 B
C

--- dir_tree.c.orig Thu Apr 15 17:05:14 1999
+++ dir_tree.c Thu Feb 2 02:26:20 2006
@@ -153,7 +153,6 @@
new_ptr[0] = 'B';
gtk_ctree_node_set_row_data_full (ctree, parent, strdup (new_ptr), (GtkDestroyNotify) free);
free (new_ptr);
- free (ptr); // verify that this is a good thing to do
PARENT_BROWSED_FLAG = TRUE;
}