Bug#524905: `g_volume_monitor_adopt_orphan_mount' implicitly converted to pointer

dann frazier dannf at debian.org
Mon Apr 20 18:15:47 UTC 2009


Package: gvfs
Version: 1.0.3-4
Severity: serious
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_volume_monitor_adopt_orphan_mount' implicitly converted to pointer at gdaemonvolumemonitor.c:155

This is often due to a missing function prototype definition.
For more information, see [2]. In this case, it looks like gvfs is
using a deprecated interface, but is building with
-DG_DISABLE_DEPRECATED. Dropping that CFLAG should be sufficient for
fixing this bug.

Though it is guaranteed that this codepath will cause a segfault on certain
architectures, it is not guaranteed that this codepath would ever be executed
(e.g., if the returned pointer is never dereferenced). However, this bug
does prevent the ia64 buildd from successfully building this package, resulting
in a practical FTBFS issue and warranting the serious severity.

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






More information about the pkg-gnome-maintainers mailing list