Memory leak in asn1_decode_generaltime
authorEzra Peisach <epeisach@mit.edu>
Tue, 28 Dec 2004 13:27:30 +0000 (13:27 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 28 Dec 2004 13:27:30 +0000 (13:27 +0000)
commit91c8943dba9cd0b123808ccfcb6b4e9ea9cb51bd
tree4e83f238e65c15db64e49450518572017d5aa26b
parente5b1a744a1c6760713ddfa0761de94850f07ca94
Memory leak in asn1_decode_generaltime

When decoding a kerberos time, if the asn1 time is 19700101000000Z (i.e. time_t
of 0) - 15 bytes of memory are lost.

* asn1_decode.c (asn1_decode_generaltime): Fix memory leak when
time sent is "19700101000000Z".

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16983 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/asn1_decode.c