[Pkg-xmpp-devel] Bug#525878: crypt() implicitly converted to pointer

dann frazier dannf at debian.org
Mon Apr 27 16:30:30 UTC 2009


Package: jabberd2
Version: 2.2.7.1-2
Severity: serious
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 `crypt' implicitly converted to pointer at authreg_mysql.c:157

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

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.

A compile-tested patch is attached.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabberd2.patch
Type: text/x-diff
Size: 319 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xmpp-devel/attachments/20090427/3dd3bd4f/attachment.patch>


More information about the Pkg-xmpp-devel mailing list