Hello community, here is the log from the commit of package libdbi for openSUSE:Factory checked in at 2014-11-12 00:22:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdbi (Old) and /work/SRC/openSUSE:Factory/.libdbi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdbi" Changes: -------- --- /work/SRC/openSUSE:Factory/libdbi/libdbi.changes 2014-08-27 16:53:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libdbi.new/libdbi.changes 2014-11-12 00:22:33.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Nov 11 13:37:08 UTC 2014 - [email protected] + +- Update to git snapshot 0.9.0+git33 +* Fix crash when calling dbi_conn_close() on a valid object with + a closed connection (e.g. when login failed). [boo#904873] + +------------------------------------------------------------------- Old: ---- libdbi-0.9.0.g32.tar.xz New: ---- libdbi-0.9.0.g33.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdbi.spec ++++++ --- /var/tmp/diff_new_pack.RjqoMy/_old 2014-11-12 00:22:34.000000000 +0100 +++ /var/tmp/diff_new_pack.RjqoMy/_new 2014-11-12 00:22:34.000000000 +0100 @@ -18,8 +18,8 @@ Name: libdbi %define lname libdbi3 -Version: 0.9.0.g32 -#Snapshot: libdbi-0.9.0-32-g06e738a +Version: 0.9.0.g33 +#Snapshot: libdbi-0.9.0-33-gcdc4479 Release: 0 Summary: Database Independent Abstraction Layer for C License: LGPL-2.1+ ++++++ libdbi-0.9.0.g32.tar.xz -> libdbi-0.9.0.g33.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libdbi/src/dbi_main.c new/libdbi/src/dbi_main.c --- old/libdbi/src/dbi_main.c 2014-08-27 12:33:45.000000000 +0200 +++ new/libdbi/src/dbi_main.c 2014-11-11 14:36:52.000000000 +0100 @@ -591,13 +591,17 @@ return; } - if (!(conn->connection)) { - free(conn); - return; - } + /* if (!(conn->connection)) { */ + /* free(conn); */ + /* return; */ + /* } */ _update_internal_conn_list(conn, -1); + /* give drivers a chance to clean up even if there is no + connection. It is assumed that + driver->functions->disconnects() checks the existence of + conn->connection */ conn->driver->functions->disconnect(conn); conn->driver = NULL; dbi_conn_clear_options(Conn); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
