diff options
author | Richard Hughes <richard@hughsie.com> | 2016-06-07 11:42:11 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-06-07 11:42:27 +0100 |
commit | 960a6d9d22d6f7756093ffdb5fa46c1b588991e3 (patch) | |
tree | 77bbd79c4021d14c81a62caef95900da57b10478 /client | |
parent | 9f0bf35993a9469df6448fa751c2888c875e4054 (diff) | |
download | appstream-glib-960a6d9d22d6f7756093ffdb5fa46c1b588991e3.tar.gz |
Never allow NULL to be added to AsApp string array
This is going to make incorrect code produce a critical warning when adding
invalid values, but that's better than segfaulting in other random parts of
the library.
Fixes the crash https://bugzilla.gnome.org/show_bug.cgi?id=767220 but we'll
need to dig deeper working out what is calling as_app_add_pkgname() with NULL.
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions