RE: Windows absolute drive path detection incomplete

2019-08-08 Thread Christopher Ertl
Thanks, Eric, you're absolutely right; good spot! Christopher Ertl | MSRC Vulnerabilities & Mitigations | Microsoft Limited  Microsoft Limited (company number 01624297) is a company registered in England and Wales whose registered office is at Microsoft Campus, Thames Valley Park, Rea

Windows absolute drive path detection incomplete

2019-08-08 Thread Christopher Ertl
d retry the checkout with 'git checkout -f HEAD' So I'm proposing to remove the check for the drive letter being alpha in `has_dos_drive_prefix` macro: #define has_dos_drive_prefix(path) \ ( (path)[1] == ':' ? 2 : 0) As well as being a security patch for RCE under