Page MenuHomePhabricator

Fix an initialization issue in VectorTree
ClosedPublic

Authored by epriestley on May 4 2020, 10:48 PM.
Tags
None
Referenced Files
F15382838: D21221.diff
Fri, Mar 14, 2:40 PM
F15378794: D21221.id50542.diff
Thu, Mar 13, 5:05 PM
F15367573: D21221.id50540.diff
Tue, Mar 11, 7:44 PM
Unknown Object (File)
Mon, Feb 24, 5:41 AM
Unknown Object (File)
Feb 18 2025, 3:00 PM
Unknown Object (File)
Feb 13 2025, 2:39 AM
Unknown Object (File)
Feb 9 2025, 9:13 AM
Unknown Object (File)
Feb 9 2025, 9:13 AM
Subscribers
None

Details

Summary

Ref T13520. In unusual cases where there are no changes in a changeset list (e.g., empty commits) we can fatal when trying to iterate over an empty list of vectors.

Test Plan
  • Created an empty commit.
  • Used "git show | pbcopy" to create a diff from it.
  • Viewed it in the web UI.
  • Before: fatal when iterating on null.
  • After: clean page.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable