[4/6] msvcrt: Added _fread_nolock_s implementation
Alexandre Julliard
julliard at winehq.org
Fri Oct 31 01:46:39 CDT 2014
"Iván Matellanes" <matellanesivan at gmail.com> writes:
> {
> + MSVCRT_size_t ret;
> +
> + MSVCRT__lock_file(stream);
> + ret = MSVCRT__fread_nolock_s(buf, buf_size, elem_size, count, stream);
> + MSVCRT__unlock_file(stream);
The parameter validation has to be done before locking the file.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list