ucx
ucx copied to clipboard
Change path max stack allocation to heap
What?
This PR changes all stack allocations of char arrays sized PATH_MAX to heap allocations.
Why?
Customers with limited stack sizes have recently experienced stack overflow issues when running UCX. Moving these allocations to the heap prevents such overflows.
How?
Heap allocations replace stack allocations for char arrays of size PATH_MAX.