Daniel Lehman dlehman25@gmail.com writes:
value = strtoullW( lphttpHdr->lpszValue, NULL, 10 );if (value > UINT_MAX){LeaveCriticalSection( &request->headers_section );return ERROR_HTTP_INVALID_HEADER;}
If you are not going to return a 64-bit value, you don't need strtoull(). strtoul() with an overflow check should be enough.