gdesktopappinfo: fix a crasher
authorRyan Lortie <desrt@desrt.ca>
Tue, 15 Apr 2014 18:10:39 +0000 (14:10 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 15 Apr 2014 18:12:58 +0000 (14:12 -0400)
commitafaee8dc6ad72281dd1a51ebae58aaabf0efdb05
tree39a8e07bebe0621923137f3d92e98a42db556802
parent7916f6d63614b74d81a5527cef2b0e9c7bbb45f2
gdesktopappinfo: fix a crasher

During the time that we are expanding the strv, it is not
null-terminated.  Use the strv_len variable instead to bound the search
for duplicates.
gio/gdesktopappinfo.c