austinenglish at gmail.com
Mon Feb 6 12:51:28 CST 2012
On Mon, Feb 6, 2012 at 09:18, Luis Carlos Busquets Pérez
<luis.busquets at ilidium.com> wrote:
> The current implementation includes a check on param->bytes >= bytes
> if (data && param->bytes >= bytes)
> So if bytes<param->bytes returns D3DERR_INVALIDCALL.
> However, the MS version does not act that way: If the parameter is shorter
> than the length of the data, then the data that fits in the parameter is put
> and returns D3D_OK
> Therefore, the check of the size should be eliminated and in memcpy instead
> of referring to bytes, it should refer to min(bytes, param->bytes)
Please send a patch and/or file a bug at http://bugs.winehq.org. The
same applies to your other report.
More information about the wine-devel