[Rpm-maint] [rpm-software-management/rpm] make sure not to dereference NULL pointer (#106)
notifications at github.com
Thu Jan 26 14:47:37 UTC 2017
The check for the missing states should not be done by file but per package.
rpmfsSetAction(fs, recs[j].fileno, FA_SKIP);
prevents new files from being removed on an update. This is not something we want to leave out light heartedly.
Possible things to do are:
Error out and state that the rpmdb is corrupted (in a bit more detail)
Assume RPMFILE_STATE_NORMAL for all files and rather risk leftover files than an empty system.
So this patch needs a redesign. Closing for now. Feel free to reopen or file a new one.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint