HomePhabricator

dirstate-v2: Enforce data size read from the docket file

Authored by SimonSapin.

Description

dirstate-v2: Enforce data size read from the docket file

The data file may not be shorter than its size given by the docket.
It may be longer, but additional data is ignored.

Differential Revision: https://phab.mercurial-scm.org/D11089

Details

Committed
SimonSapinJul 12 2021, 4:46 PM
Differential Revision
D11089: dirstate-v2: Enforce data size read from the docket file
Parents
rHGff97e793ed36: dirstate-v2: Introduce a docket file
Branches
Unknown
Tags
Unknown