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

SystemTools: Fix GetShortPath buffer sizing


Use the GetShortPathNameW return value to allocate a buffer of the
required size.  The previous assumption that the "short" path will
always require less space than the original path is incorrect.

CMake-Issue: 15892
Inspired-by: default avatarJan van Dorsten <dorsten@boehme-weihs.de>
Change-Id: I5845752710560b3e71a2f5eaf334dd676f5b3a9d
parent cfb2477d
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