Page MenuHomePhabricator

Fix infinite loop in PhutilFileTree
ClosedPublic

Authored by sowedance on Jan 29 2014, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 3:04 PM
Unknown Object (File)
Dec 7 2024, 5:20 PM
Unknown Object (File)
Dec 5 2024, 5:09 PM
Unknown Object (File)
Nov 30 2024, 3:47 AM
Unknown Object (File)
Nov 25 2024, 12:54 AM
Unknown Object (File)
Nov 21 2024, 11:35 AM
Unknown Object (File)
Nov 16 2024, 7:48 PM
Unknown Object (File)
Nov 13 2024, 8:45 PM

Details

Summary

In one of our diff we have files with name '10.8' and '10.80' in the same dir, which caused infinite loop since numerically they are the same hence getNextSibling() call on 10.80 will always gets itself.

Test Plan

Load the diff with fix.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline