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
F18765188: D19451.diff
Tue, Oct 7, 10:03 AM
F18762843: D19451.id46532.diff
Mon, Oct 6, 8:53 PM
F18745246: D19451.id.diff
Fri, Oct 3, 5:53 AM
F18649673: D19451.diff
Sep 20 2025, 9:54 PM
F18628916: D19451.id46532.diff
Sep 16 2025, 7:34 AM
F18545247: D19451.diff
Sep 8 2025, 1:40 AM
F18509640: D19451.id.diff
Sep 5 2025, 3:31 AM
F18502897: D19451.diff
Sep 4 2025, 10:43 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