28827aac69
thanks to Benoit Lecocq for amd64 testing
17 lines
488 B
Plaintext
17 lines
488 B
Plaintext
$OpenBSD: patch-gio_gfile_c,v 1.2 2009/01/11 17:06:26 ajacoutot Exp $
|
|
|
|
Lower bufer size to prevent memory access issues.
|
|
See GNOME bugzilla #561939.
|
|
|
|
--- gio/gfile.c.orig Fri Jan 9 07:01:02 2009
|
|
+++ gio/gfile.c Sat Jan 10 12:13:16 2009
|
|
@@ -2195,7 +2195,7 @@ copy_stream_with_progress (GInputStream *in,
|
|
{
|
|
gssize n_read, n_written;
|
|
goffset current_size;
|
|
- char buffer[1024*64], *p;
|
|
+ char buffer[1024*4], *p;
|
|
gboolean res;
|
|
goffset total_size;
|
|
GFileInfo *info;
|