http://bugs.winehq.org/show_bug.cgi?id=25186
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2010-11-17 12:02:32 CST --- Yeah, this was a dumb mistake on my part. That section of the code tries to generate the most valid UNIX path possible, falling back on appending the unknown parts to the end of this partially-complete path. dospath_end should've been decremented after assigning its character to '/', to avoid this infinite loop. I've sent a patch that should fix this:
shell32: Fix an off-by-one error that causes an infinite loop http://source.winehq.org/patches/data/68602
Thanks for reporting, Piotr.