[Debian-ha-maintainers] Bug#688455: Possibly invalid mix of GList and GSList

Michael Tautschnig mt at debian.org
Sat Sep 22 20:22:35 UTC 2012


Package: heartbeat
Version: 3.0.5-3

While building the package using our research compiler infrastructure the
following conflicting declarations of del_node_list were detected:

config.c:GSList*          del_node_list;
heartbeat.c:extern GSList*      del_node_list;

vs.

hb_uuid.c:extern GList*     del_node_list;

As hb_uuid.c also accesses del_node_list as a GList (while it is a GSList by
config.c), this may cause undefined behaviour.

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/20120922/e3355189/attachment.pgp>


More information about the Debian-ha-maintainers mailing list