[PATCH 2/5] wined3d: Validate and handle query size parameter. (try 2)
Henri Verbeet
hverbeet at gmail.com
Mon May 5 06:51:46 CDT 2014
On 2 May 2014 16:30, Matteo Bruni <mbruni at codeweavers.com> wrote:
> +static void fill_query_data(void *out, unsigned int out_size, const void *result, unsigned int result_size)
> +{
> + unsigned int size = min(out_size, result_size);
> +
> + memcpy(out, result, size);
> +}
The extra "size" variable is perhaps a bit superfluous. Not sure if I care.
More information about the wine-devel
mailing list