Hello community,

here is the log from the commit of package at-spi2-core for openSUSE:Factory 
checked in at 2015-11-22 10:58:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/at-spi2-core (Old)
 and      /work/SRC/openSUSE:Factory/.at-spi2-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "at-spi2-core"

Changes:
--------
--- /work/SRC/openSUSE:Factory/at-spi2-core/at-spi2-core.changes        
2015-11-04 15:31:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.at-spi2-core.new/at-spi2-core.changes   
2015-11-22 10:58:40.000000000 +0100
@@ -1,0 +2,15 @@
+Tue Nov 10 21:40:40 UTC 2015 - [email protected]
+
+- Update to version 2.18.3:
+  + get_index_in_parent: Don't crash if the parent is defunct.
+
+-------------------------------------------------------------------
+Sun Nov  8 01:27:10 UTC 2015 - [email protected]
+
+- Update to version 2.18.2:
+  + Really don't crash if we get a children-changed event with a
+    non-existent child (bgo#755951).
+  + Fixed crash during removal of last application in registryd
+    (bgo#756513).
+
+-------------------------------------------------------------------

Old:
----
  at-spi2-core-2.18.1.tar.xz

New:
----
  at-spi2-core-2.18.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ at-spi2-core.spec ++++++
--- /var/tmp/diff_new_pack.VgTRrT/_old  2015-11-22 10:58:41.000000000 +0100
+++ /var/tmp/diff_new_pack.VgTRrT/_new  2015-11-22 10:58:41.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           at-spi2-core
-Version:        2.18.1
+Version:        2.18.3
 Release:        0
 Summary:        Assistive Technology Service Provider Interface - D-Bus based 
implementation
 License:        GPL-2.0+

++++++ at-spi2-core-2.18.1.tar.xz -> at-spi2-core-2.18.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/NEWS new/at-spi2-core-2.18.3/NEWS
--- old/at-spi2-core-2.18.1/NEWS        2015-10-12 21:45:47.000000000 +0200
+++ new/at-spi2-core-2.18.3/NEWS        2015-11-10 22:28:22.000000000 +0100
@@ -1,7 +1,18 @@
+What's new in at-spi2-core 2.18.3:
+
+* get_index_in_parent: Don't crash if the parent is defunct.
+
+What's new in at-spi2-core 2.18.2:
+
+* Really don't crash if we get a children-changed event with a
+  non-existent child (bgo#755951).
+
+* Fixed crash during removal of last application in registryd (bgo#756513).
+    
 What's new in at-spi2-core 2.18.1:
 
 * Don't crash if we get a children-changed event with a non-existent
-  child 9bgo#755951).
+  child (bgo#755951).
 
 * atspi_hyperlink_get_index_range: don't return random values if the
   call fails (bgo#755727).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/atspi/atspi-accessible.c 
new/at-spi2-core-2.18.3/atspi/atspi-accessible.c
--- old/at-spi2-core-2.18.1/atspi/atspi-accessible.c    2015-08-15 
01:49:46.000000000 +0200
+++ new/at-spi2-core-2.18.3/atspi/atspi-accessible.c    2015-11-10 
22:22:25.000000000 +0100
@@ -399,11 +399,15 @@
     if (!obj->accessible_parent)
       return -1;
 
+    if (!_atspi_accessible_test_cache (obj->accessible_parent, 
ATSPI_CACHE_CHILDREN) || !obj->accessible_parent->children)
+        goto dbus;
+
     for (i = 0; i < obj->accessible_parent->children->len; i++)
       if (g_ptr_array_index (obj->accessible_parent->children, i) == obj)
         return i;
   }
 
+dbus:
   _atspi_dbus_call (obj, atspi_interface_accessible,
                     "GetIndexInParent", NULL, "=>i", &ret);
   return ret;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/atspi/atspi-event-listener.c 
new/at-spi2-core-2.18.3/atspi/atspi-event-listener.c
--- old/at-spi2-core-2.18.1/atspi/atspi-event-listener.c        2015-10-12 
20:31:16.000000000 +0200
+++ new/at-spi2-core-2.18.3/atspi/atspi-event-listener.c        2015-10-25 
01:43:09.000000000 +0200
@@ -207,7 +207,7 @@
     return;
 
   child = g_value_get_object (&event->any_data);
-  if (child)
+  if (child == NULL)
     return;
 
   if (!strncmp (event->type, "object:children-changed:add", 27))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/configure 
new/at-spi2-core-2.18.3/configure
--- old/at-spi2-core-2.18.1/configure   2015-10-12 21:46:12.000000000 +0200
+++ new/at-spi2-core-2.18.3/configure   2015-11-10 22:28:49.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for at-spi2-core 2.18.1.
+# Generated by GNU Autoconf 2.69 for at-spi2-core 2.18.3.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='at-spi2-core'
 PACKAGE_TARNAME='at-spi2-core'
-PACKAGE_VERSION='2.18.1'
-PACKAGE_STRING='at-spi2-core 2.18.1'
+PACKAGE_VERSION='2.18.3'
+PACKAGE_STRING='at-spi2-core 2.18.3'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1441,7 +1441,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures at-spi2-core 2.18.1 to adapt to many kinds of systems.
+\`configure' configures at-spi2-core 2.18.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1515,7 +1515,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of at-spi2-core 2.18.1:";;
+     short | recursive ) echo "Configuration of at-spi2-core 2.18.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1652,7 +1652,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-at-spi2-core configure 2.18.1
+at-spi2-core configure 2.18.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2204,7 +2204,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by at-spi2-core $as_me 2.18.1, which was
+It was created by at-spi2-core $as_me 2.18.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3087,7 +3087,7 @@
 
 # Define the identity of the package.
  PACKAGE='at-spi2-core'
- VERSION='2.18.1'
+ VERSION='2.18.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15605,7 +15605,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by at-spi2-core $as_me 2.18.1, which was
+This file was extended by at-spi2-core $as_me 2.18.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15671,7 +15671,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-at-spi2-core config.status 2.18.1
+at-spi2-core config.status 2.18.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/configure.ac 
new/at-spi2-core-2.18.3/configure.ac
--- old/at-spi2-core-2.18.1/configure.ac        2015-10-12 21:45:55.000000000 
+0200
+++ new/at-spi2-core-2.18.3/configure.ac        2015-11-10 22:28:29.000000000 
+0100
@@ -1,4 +1,4 @@
-AC_INIT([at-spi2-core], [2.18.1], 
[[email protected]])
+AC_INIT([at-spi2-core], [2.18.3], 
[[email protected]])
 AC_PREREQ([2.59])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/at-spi2-core-2.18.1/registryd/registry.c 
new/at-spi2-core-2.18.3/registryd/registry.c
--- old/at-spi2-core-2.18.1/registryd/registry.c        2015-06-14 
17:42:53.000000000 +0200
+++ new/at-spi2-core-2.18.3/registryd/registry.c        2015-10-25 
02:09:59.000000000 +0200
@@ -144,11 +144,12 @@
 
   ref = spi_reference_new (name, path);
 
-  for (i = 0; i < arr->len && found == FALSE; i++)
+  for (i = 0; i < arr->len; i++)
     {
-      if (compare_reference (ref, g_ptr_array_index (arr, i)));
+      if (compare_reference (ref, g_ptr_array_index (arr, i)))
         {
           found = TRUE;
+          break;
         }
     }
 


Reply via email to