tracker: send only utf8 string over DBus
authorLukasz Pawlik <lucas.pawlik@gmail.com>
Tue, 18 Oct 2011 11:47:56 +0000 (13:47 +0200)
committerJens Georg <mail@jensge.org>
Wed, 19 Oct 2011 07:29:36 +0000 (09:29 +0200)
commit92d7cc35aa3e2fc93e9693e1491305571b2c7be2
tree783159216d67fe7624332bd1e4536475bb74b23c
parent0d4a66004db2cab487a6285029a8aa9168d2ac9e
tracker: send only utf8 string over DBus

Previously it was possible to crash rygel by sending certain malformed url.
This patch fix this by ensuring that every selection query send to tracker
service over DBus will be UTF8 encoded. If UTF8 will not be enforced
GLib.Variant will crash.
src/plugins/tracker/rygel-tracker-search-container.vala