Page MenuHomePhabricator

Parse unusual Subversion protocol frames which contain extra whitespace
ClosedPublic

Authored by epriestley on May 15 2018, 10:58 PM.
Tags
None
Referenced Files
F19515343: D19451.diff
Wed, Jan 14, 10:30 AM
F19514767: D19451.id.diff
Wed, Jan 14, 4:48 AM
F19148640: D19451.id46528.diff
Dec 10 2025, 6:17 PM
F19147298: D19451.id46528.diff
Dec 10 2025, 4:15 PM
F19055075: D19451.id46532.diff
Nov 28 2025, 3:45 PM
F18957263: D19451.diff
Nov 12 2025, 11:57 PM
F18889593: D19451.diff
Nov 7 2025, 8:28 AM
F18843019: D19451.diff
Oct 28 2025, 8:27 PM
Subscribers
None

Details

Summary

Fixes T13140. See PHI660.

Recent versions of Subversion can send a (get-file true false false ) protocol frame with extra space between "false" and "false". This is allowed by the protocol spec, but never normally happens, and we do not parse it correctly.

Instead, parse it correctly.

Test Plan
  • Added unit tests.
  • Ran svn proplist svn+ssh://.../diffusion/X/file.c under SVN 1.10 before and after the change.
    • Before: indefinite hang.
    • After: completed in finite time.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable