Page MenuHomePhabricator

Fix an initialization issue in VectorTree
ClosedPublic

Authored by epriestley on May 4 2020, 10:48 PM.
Tags
None
Referenced Files
F15484720: D21221.diff
Wed, Apr 9, 7:45 PM
F15449136: D21221.id50540.diff
Fri, Mar 28, 8:30 AM
F15440026: D21221.id50542.diff
Wed, Mar 26, 10:47 AM
F15437584: D21221.id.diff
Tue, Mar 25, 8:35 PM
F15430722: D21221.diff
Mon, Mar 24, 8:40 AM
F15429998: D21221.diff
Mon, Mar 24, 5:11 AM
F15382838: D21221.diff
Mar 14 2025, 2:40 PM
F15378794: D21221.id50542.diff
Mar 13 2025, 5:05 PM
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