Files
flatpak/common
Will Thompson a732de2a28 installation: don't dereference possibly-NULL array
If the installation contains 1 or more installed refs, but none of those
refs have a remote with a collection ID, then 'results' will be NULL but
'installed' will be non-NULL. Since
c29e686246, 'results[0]' is used in this
situation – a NULL pointer dereference. There is an existing 'results !=
NULL' check inside the body of this loop, but this is too late.

Check whether 'results' is NULL before dereferencing it.

Fixes #3134.
2019-09-26 08:47:47 -07:00
..
2019-02-25 18:12:30 +00:00
2018-05-24 11:59:52 +00:00
2019-09-20 13:02:06 -07:00
2019-02-25 18:12:30 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2019-02-25 18:12:30 +00:00
2019-04-08 12:50:42 +00:00
2019-06-14 22:44:27 +00:00
2018-05-24 11:59:52 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2018-07-08 10:05:37 +00:00
2019-04-08 12:50:42 +00:00
2018-05-24 11:59:52 +00:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2019-04-08 12:50:42 +00:00