aboutsummaryrefslogtreecommitdiffstats
path: root/main/xarchiver/xarchiver-0.5.2-stack-smash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xarchiver/xarchiver-0.5.2-stack-smash.patch')
-rw-r--r--main/xarchiver/xarchiver-0.5.2-stack-smash.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/xarchiver/xarchiver-0.5.2-stack-smash.patch b/main/xarchiver/xarchiver-0.5.2-stack-smash.patch
new file mode 100644
index 0000000000..66104822ea
--- /dev/null
+++ b/main/xarchiver/xarchiver-0.5.2-stack-smash.patch
@@ -0,0 +1,20 @@
+--- xarchiver-0.5.2-old/src/window.c 2008-11-11 09:31:45.000000000 +0100
++++ xarchiver-0.5.2/src/window.c 2009-01-25 16:26:07.000000000 +0100
+@@ -1447,7 +1447,7 @@
+ GtkTreeIter iter;
+ gint n_elem = 0,pos = 0,dirs = 0;
+ unsigned long int total_size = 0;
+- unsigned long int size = 0;
++ guint64 size = 0;
+ XEntry *entry = NULL;
+
+ path = gtk_tree_path_new_first();
+@@ -1517,7 +1517,7 @@
+ GtkTreeModel *model;
+ gint selected = 0,pos = 0,dirs = 0;
+ unsigned long int total_size = 0;
+- unsigned long int size = 0;
++ guint64 size = 0;
+ XEntry *entry;
+
+ switch (archive->type)