Misc bugs found by using valgrind
MichaelGuennewig at gmx.de
Thu Sep 25 02:45:41 CDT 2003
Shachar Shemesh <wine-devel at shemesh.biz> writes:
> Michael Günnewig wrote:
>> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1684 bytes
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030925/f0c65a25/wine-valgrind.bin
More information about the wine-devel