Skip to content

managerd: Fix crash when static-delta contains no refs

aum_get_metadata_collection_refs() checks whether the commit has ref-bindings before trying to duplicate them, but it unconditionally tries to log them. This results in a null pointer dereference if they are missing.

Move the logging into the conditional block.

Edited by Ben Hutchings

Merge request reports

Loading