Jinoh Kang (@iamahuman) commented about server/fd.c:
set_error( STATUS_OBJECT_PATH_SYNTAX_BAD ); return; }
- /* strip trailing slashes */
- while (len > 1 && nameptr[len - 1] == '/')
Since this fixes a bug in Wine (as it turns out), I suggest splitting this out into its own commit, along with the test. Feel free to also split out the test from the fix.