Skip to content
Commit 87d5b79f authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

libtracker-sparql/bus: Initialize string length out value in all paths

Fill in the out parameter in tracker_sparql_cursor_get_string() also
on NULL strings. We used to do that, and even had code that internally
relied on that.

Fixes accessing through the portal after the bus connection rewrite,
since the TrackerEndpointDBus in the portal would rely on prior
behavior to correctly write the cursor to the sandboxed client.

Sadly, our puny portal tests didn't catch this situation.
parent 1c94abef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment