cabinet: Check buffer size before copying in NONEfdi_decomp.
commit79ad9cbcdd91559c04a6d519c4d9e718bab970a0
authorRob Shearman <robertshearman@gmail.com>
Wed, 1 Oct 2008 10:19:31 +0000 (1 11:19 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 1 Oct 2008 16:42:36 +0000 (1 11:42 -0500)
treef3008b8730ac9f543f311b14229284081a0a2998
parent2b5a59c092441123a2ffc09a90da62056a0302fd
cabinet: Check buffer size before copying in NONEfdi_decomp.

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