clearlinux / swupd-server

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

Lingering renames in manifests after target deleted #93

Closed matthewrsj closed 6 years ago

matthewrsj commented 6 years ago

In the case where renames are detected and included in a manifest (i.e. version 10) for a bundle, then the target file is later deleted from that bundle, the renamed-from file will hang around with no corresponding target.

These renamed-from files (.d.r) should have their hashes set to all zeros and turned into a pure delete when the matching hash does not exist in the manifest.

phmccarty commented 6 years ago

This bug is similar to #94, which affects the renamed-to files (instead of renamed-from).