Page MenuHomeSoftware Heritage

pg: Fix crash in snapshot_get when the snapshot does not exist.
ClosedPublic

Authored by vlorentz on Aug 7 2020, 9:46 PM.

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

Build is green

Patch application report for D3743 (id=13186)

Rebasing onto 4918759fc8...

Current branch diff-target is up to date.
Changes applied before test
commit 70a8ee4a518fb379833158833f9d334abea5a7a4
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Aug 7 21:46:29 2020 +0200

    pg: Fix crash in snapshot_get when the snapshot does not exist.

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

ok but following your footsteps, it's missing a test, isn't it?

:D

This revision is now accepted and ready to land.Aug 7 2020, 9:55 PM

yeah, but I'll remove it next week D: