Add test program for decryption of overly short buffers
authorTom Yu <tlyu@mit.edu>
Thu, 14 Jan 2010 19:27:33 +0000 (19:27 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 14 Jan 2010 19:27:33 +0000 (19:27 +0000)
commit69194366f3c095e47d048565133be06cdb56c35d
tree051d12558b08963716140519f4bde99f983b3db4
parent32964f3175a26bba79b8e3033e0130d943565001
Add test program for decryption of overly short buffers

Pull up r23652 from trunk.

Test case for integer underflow in AES and RC4 decryption.
[MITKRB5-SA-2009-004, CVE-2009-4212] krb5-1.8 branch isn't vulnerable,
but include this test anyway.

 ------------------------------------------------------------------------
 r23652 | ghudson | 2010-01-12 16:59:58 -0500 (Tue, 12 Jan 2010) | 2 lines

 Add test program for decryption of overly short buffers.

ticket: 6642
target_version: 1.8
version_fixed: 1.8
tags: pullup
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@23660 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/t_short.c [new file with mode: 0644]