Page MenuHomeSoftware Heritage

metadata_{authority,fetcher}_add: Fix crash when the iterable argument is empty.
ClosedPublic

Authored by vlorentz on Fri, Jul 24, 9:28 AM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Fri, Jul 24, 9:28 AM
ardumont accepted this revision.Fri, Jul 24, 9:31 AM
This revision is now accepted and ready to land.Fri, Jul 24, 9:31 AM

Build is green

Patch application report for D3610 (id=12708)

Rebasing onto 7e94767a51...

Current branch diff-target is up to date.
Changes applied before test
commit 789972fd5fa273878beeeeef17551485940eb842
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Jul 24 09:28:33 2020 +0200

    metadata_{authority,fetcher}_add: Fix crash when the iterable argument is empty.

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/559/ for more details.