The fixes in uiports/qtewin.cpp are merely of cosmetical nature and
prevent crashes when user enters too long names.
But the issues in disk.c might be exploited by the remote server.
Windoze allows pathnames up to 32Ki chars while the buffer used in the
sprintf(3) are PATH_MAX sized only. This constant is 4096 on