cabinet: Check buffer size before copying in NONEfdi_decomp.
Rob Shearman
robertshearman at gmail.com
Wed Oct 1 05:19:31 CDT 2008
Check that the data will fit into the fixed sized buffer CAB(outbuf)
and return an error if not before copying.
---
dlls/cabinet/fdi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Fixes an off-by-one error in the previous version of this patch that
caused the tests to fail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c1986cda4d3c94d0ae358e61cd335a958506601e.diff
Type: text/x-patch
Size: 495 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081001/4025e316/attachment.bin
More information about the wine-patches
mailing list