Skip to content
Snippets Groups Projects
Commit 9fd64779 authored by Brad King's avatar Brad King
Browse files

SystemTools: Fix FileIsDirectory with long paths

Allocate a buffer large enough to hold the input path when removing a
trailing slash.  Use a local stack buffer when it is large enough and
fall back to heap allocation otherwise.

Change-Id: Ibc4b4c96c7b0fafae9f4b5cd7ea894bdd605a098
parent f4928d44
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment