Page MenuHomePhabricator

Fix an initialization issue in VectorTree
ClosedPublic

Authored by epriestley on May 4 2020, 10:48 PM.
Tags
None
Referenced Files
F14074913: D21221.id50540.diff
Thu, Nov 21, 9:13 AM
Unknown Object (File)
Fri, Nov 1, 12:20 AM
Unknown Object (File)
Fri, Oct 25, 7:05 AM
Unknown Object (File)
Oct 11 2024, 6:01 AM
Unknown Object (File)
Oct 3 2024, 7:06 AM
Unknown Object (File)
Oct 1 2024, 8:05 AM
Unknown Object (File)
Sep 23 2024, 6:40 PM
Unknown Object (File)
Sep 6 2024, 7:28 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