[PATCH] wininet: Substitute strchrW with memchrW in InternetCrackUrlW.txt

Frank Richter frank.richter at gmail.com
Wed Oct 17 12:26:22 CDT 2007


On 17.10.2007 06:49, Nigel Liang wrote:
> Hi,
> 
> strchrW assumes a NULL-terminated string. May crash if terminating character is
> not found. memchrW is better because you can specify the maximum number of
> bytes to search.

On the flipside, memchrW() doesn't stop at a NUL...

-f.r.



More information about the wine-devel mailing list