]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[deflate] Fix literal data length calculation
authorMichael Brown <mcb30@ipxe.org>
Wed, 8 Jan 2014 22:21:23 +0000 (23:21 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 12 Jan 2014 21:53:10 +0000 (22:53 +0100)
commit97fd5ccdd86f4c84b128e905c663b2bd7e6397fe
treef345f664066e7681b1166acb7c1ba1a74188499f
parent9bdfc36bcc6157da0e6f0713202a9b6891b642d1
[deflate] Fix literal data length calculation

Fix incorrect calculation used to determine length of data to be
copied within a literal data block, and add a test case to prevent
this bug from going undetected in future.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/deflate.c
src/tests/deflate_test.c