[g-a-devel]patch for at-spi/libspi/stateset.c
- From: Radek Doulík <rodo ximian com>
- To: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]patch for at-spi/libspi/stateset.c
- Date: 26 Apr 2002 14:02:24 -0400
Hi,
please find attached patch which fixes nasty out of bounds memory access
in at-spi/libspi/stateset.c.
Cheers
Radek
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/at-spi/ChangeLog,v
retrieving revision 1.194
diff -u -p -r1.194 ChangeLog
--- ChangeLog 22 Apr 2002 18:29:05 -0000 1.194
+++ ChangeLog 26 Apr 2002 18:56:09 -0000
@@ -1,3 +1,8 @@
+2002-04-26 Radek Doulik <rodo ximian com>
+
+ * libspi/stateset.c (spi_init_state_type_tables): fix size of
+ atk_state_types table
+
2002-04-22 jacob berkman <jacob ximian com>
* util/Makefile.am:
Index: libspi/stateset.c
===================================================================
RCS file: /cvs/gnome/at-spi/libspi/stateset.c,v
retrieving revision 1.3
diff -u -p -r1.3 stateset.c
--- libspi/stateset.c 13 Apr 2002 20:47:46 -0000 1.3
+++ libspi/stateset.c 26 Apr 2002 18:56:09 -0000
@@ -46,7 +46,7 @@ spi_init_state_type_tables (void)
g_return_val_if_fail (atk_state_types, FALSE);
accessible_state_types = g_new (Accessibility_StateType, ATK_STATE_LAST_DEFINED);
- atk_state_types = g_new (AtkStateType, ATK_STATE_LAST_DEFINED);
+ atk_state_types = g_new (AtkStateType, Accessibility_STATE_LAST_DEFINED);
for (i = 0; i < ATK_STATE_LAST_DEFINED; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]