Misc bugs found by using valgrind

Michael Günnewig MichaelGuennewig at gmx.de
Thu Sep 25 02:45:41 CDT 2003


Shachar Shemesh <wine-devel at shemesh.biz> writes:

> Michael Günnewig wrote:
>
>>Changelog:
>>  Fixed use of uninitialized memory and wrong buffersize (found by valgrind).
...
> What are we doing to prevent integer overflow on these allocations?
> Shouldn't we, perhaps, use some wrapper that checks that
> "cbFilter*sizeof(WCHAR)" is not greater than "MAXINT"?

It's a point, so here is the new patch.

  Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-valgrind.diff
Type: text/x-patch
Size: 1684 bytes
Desc: wine-valgrind.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030925/f0c65a25/wine-valgrind.bin


More information about the wine-patches mailing list