winmm GetDevCaps better pointer check patch

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Jun 6 12:43:35 CDT 2004


On Sun, 2004-06-06 at 17:27, Robert Reif wrote:
> Do better check on pointers to memory to be written to.

...

________________________________________________________________________
> +    if (IsBadWritePtr(lpCaps, uSize))

...

Does a program depend on these checks?
We should only put them in when a program depends on them because they
can silently corrupt memory and cause a few other hard to detect side
effects.

Rob




More information about the wine-devel mailing list