mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When iterating over linked lists in the target process, bugs or corrupt data might cause us to enter an infinite loop. Limit these loops to a fixed number of iterations so that we fail more gracefully. These limits should be set to a level that no healthy program will approach. Report Slab's Next pointer as a separate chunk in asyncTaskSlabAllocations. This lets tools see it as a pointer and see the connection to the next slab. rdar://91289920
75 KiB
75 KiB