[Bug 39678] Zararadio can not read folder/file name path with Latin characters

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Dec 16 04:12:05 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39678

--- Comment #17 from Nikolay Sivov <bunglehead at gmail.com> ---
Created attachment 53135
  --> https://bugs.winehq.org/attachment.cgi?id=53135
patch

After some debugging, this call fails:

---
0009:trace:msvcrt:MSVCRT_vsscanf_l "file0=D:\\M\xdaSICA RADIO
CONDELL\\JJPG\\FOLKLORE\\100 MEJORES DEL FOLKLORE - IRT\\100 MEJORES DEL
FOLKLORE - IRT - CD 4\\100 MEJORES DEL FOLKLORE - IRT - CD4 - 25 - LOS DE
RAM\xd3N - V\xe1monos emborrachando.mp3\n" ("%[^=] = %[^;]")
---

Specifically second format mask.

The problem seems to be signed char to signed int propagation that happens at
some point - _GETC_ returns 0xffffffda for \xda char, then it's passed to
RtlAreBitsClear() as ULONG, and this obviously fails. Hacking for this specific
char value to drop higher bits makes it work.

You can try this patch if you like.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list