Fix double-free when un-padding invalid data.
authorDaiki Ueno <ueno@unixuser.org>
Fri, 27 May 2011 01:18:39 +0000 (10:18 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 27 May 2011 01:18:39 +0000 (10:18 +0900)
commit37d5a1cec118f2b1dd717c5f4a25062d008e6e51
tree1dfb25cd18b2c3139f5c680b2303e71d7b5f5f36
parent2d559392b5d2044fc780bfec211f1af9317a5b8f
Fix double-free when un-padding invalid data.

Also add invalid padding cases to the basic test.
cipher/ChangeLog
cipher/pubkey.c
tests/ChangeLog
tests/basic.c