[Debian-ha-maintainers] Bug#688514: Conflicting declarations of variable ipc_pollfunc_ptr

Michael Tautschnig mt at debian.org
Sun Sep 23 12:42:20 UTC 2012


Package: cluster-glue
Version: 1.0.9+hg2665-1

While building the package using our research compiler infrastructure we
noticed the following conflicting declarations:

- ./lib/clplumbing/ipcsocket.c:extern int (*ipc_pollfunc_ptr)(struct pollfd *, nfds_t, int);
- ./lib/clplumbing/ocf_ipc.c:int (*ipc_pollfunc_ptr)(struct pollfd*, unsigned int, int)

with nfds_t being unsigned long int. This may cause undefined behaviour if
values larger than UINT_MAX are passed to *ipc_pollfunc_ptr.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20120923/5df570d0/attachment.pgp>


More information about the Debian-ha-maintainers mailing list