22 Nov
2019
22 Nov
'19
6:35 a.m.
Hi Jeff, On 11/22/19 1:28 AM, Jeff Smith wrote:
if(src<l || src>h) { *str = 0; - *MSVCRT__errno() = MSVCRT_EINVAL; + MSVCRT_INVALID_PMT("Invalid value", MSVCRT_EINVAL); return FALSE; }
Please change it to if(!MSVCRT_CHECK_PMT(src>=l && src<=h)). Could you please also move it earlier in the series? It makes some other changes not needed (e.g. patch 5/7 is not needed). Thanks, Piotr