Bug#470665: gtk+2.0: g_fopen() implicitly converted to pointer

dann frazier dannf at debian.org
Wed Mar 12 16:57:22 UTC 2008


Package: gtk+2.0
Version: 2.12.9-1
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.

  Function `g_fopen' implicitly converted to pointer at /build/buildd/gtk+2.0-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c:1421
  Function `g_fopen' implicitly converted to pointer at /build/buildd/gtk+2.0-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c:1421
  Function `g_fopen' implicitly converted to pointer at /build/buildd/gtk+2.0-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c:1421

This is often due to a missing function prototype definition.
For more information, see [2].

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions

--- gtk+2.0-2.12.9.orig/modules/printbackends/cups/gtkprintbackendcups.c	2008-03-11 22:17:03.000000000 -0600
+++ gtk+2.0-2.12.9/modules/printbackends/cups/gtkprintbackendcups.c	2008-03-12 10:56:14.000000000 -0600
@@ -36,6 +36,7 @@
 #include <cairo-ps.h>
 
 #include <glib/gi18n-lib.h>
+#include <glib/gstdio.h>
 #include <gmodule.h>
 
 #include <gtk/gtkprintoperation.h>






More information about the pkg-gnome-maintainers mailing list