Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGf27f8e9ef1e7: manifest: also reject obviously-too-short lines when parsing lines
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
+ if ((next - data) < 22) {
+ /* We should have at least 22 bytes in a line:
+ 1 byte filename
+ 1 NUL
+ 20 bytes of hash
Queued, but I think it should be 40 bytes of hexadecimal hash.