Fix crash in AppStream PackageKit plugin
authorMatthias Klumpp <matthias@tenstral.net>
Mon, 7 Oct 2013 07:33:44 +0000 (00:33 -0700)
committerMatthias Klumpp <matthias@tenstral.net>
Mon, 7 Oct 2013 07:33:44 +0000 (00:33 -0700)
commit7189a61829c515d00dabacb6dabfc9c8234d3334
treee8620ddbe08fc6cb4ef6f642b97c57fca2d597a0
parent57dc71f891e20a817946a44f83eaf3dfb57fa54c
Fix crash in AppStream PackageKit plugin

The crash on database initialization was caused by an implicit
declaration of the init function in Vala-generated C code, which
resulted in a pointer size which was too small to contain the
DatabaseWrite pointer. Due to some sideeffects, this bug was only
triggered by the PackageKit daemon.
Many thanks to Thiago Macieira for resolving this issue!

Signed-off-by: Matthias Klumpp <matthias@tenstral.net>
CMakeLists.txt
src/xapian/as-xapian.vapi
src/xapian/database-vala.hpp