alarmd_event_query() returns a zero terminated array. The problem was added in
[modest] / ChangeLog
1 * please check the git log instead. A dump of log in this ChangeLog may happen
2   soon.