http://bugs.winehq.org/show_bug.cgi?id=58363
--- Comment #18 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Piotr Caban from comment #17)
I've created https://gitlab.winehq.org/wine/wine/-/merge_requests/8371 that fixes _getdcwd.
Thanks for your work Piotr, the patch fixes the crash in Thief 2 and System Shock 2 for me.