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

2007-10-17 Thread Nigel Liang
On 10/17/07, Frank Richter <[EMAIL PROTECTED]> wrote: > 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. >

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

2007-10-17 Thread Frank Richter
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.