http://bugs.winehq.org/show_bug.cgi?id=34211
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-08-05 18:46:46 CDT ---
for(i=0; i<sizeof(src); i++) ... for(i=sizeof(src)+1; i<len; i++)
I think you need strlen instead of sizeof, but IMO there seems to be an easier way to do it.