mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
Resolve 64 bit-shift bug in g_markup_collect_attributes.
Spotted by Lieven van der Heide. * glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift. svn path=/trunk/; revision=6243
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2008-01-04 Mathias Hasselmann <mathias@openismus.com>
|
||||||
|
|
||||||
|
Resolve 64 bit-shift bug in g_markup_collect_attributes.
|
||||||
|
Spotted by Lieven van der Heide.
|
||||||
|
|
||||||
|
* glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.
|
||||||
|
|
||||||
2008-01-02 Alvaro Lopez Ortega <alvaro@sun.com>
|
2008-01-02 Alvaro Lopez Ortega <alvaro@sun.com>
|
||||||
|
|
||||||
* gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
|
* gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
|
||||||
|
@@ -2602,7 +2602,7 @@ g_markup_collect_attributes (const gchar *element_name,
|
|||||||
|
|
||||||
/* ensure we collected all the arguments */
|
/* ensure we collected all the arguments */
|
||||||
for (i = 0; attribute_names[i]; i++)
|
for (i = 0; attribute_names[i]; i++)
|
||||||
if ((collected & (1 << i)) == 0)
|
if ((collected & (G_GUINT64_CONSTANT(1) << i)) == 0)
|
||||||
{
|
{
|
||||||
/* attribute not collected: could be caused by two things.
|
/* attribute not collected: could be caused by two things.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user