clearlinux / swupd-server

Software update server (deprecated)
Other
13 stars 17 forks source link

swupd_create_fullfiles: avoid segfault when nothing changes #36

Closed pohly closed 7 years ago

pohly commented 7 years ago

In the (unlikely) case that nothing changed between two builds, get_deduplicated_fullfile_list() segfaults because it uses manifest->files without checking for NULL, aka the empty list.

phmccarty commented 7 years ago

+1