Subject: | Invalid memory access in MSLSA: |
* cc_mslsa.c:
Do not use the FAILED() macro to test the result of
ConstructTicketRequest().
ConstructTicketRequest() returns positive errors and FAILED() only
considers
negative values to be a failure condition.
Also, close potential memory leak of LSA allocated memory.
To generate a diff of this commit:
cvs diff -r5.111 -r5.112 krb5/src/lib/krb5/ccache/ChangeLog
cvs diff -r5.17 -r5.18 krb5/src/lib/krb5/ccache/cc_mslsa.c
Do not use the FAILED() macro to test the result of
ConstructTicketRequest().
ConstructTicketRequest() returns positive errors and FAILED() only
considers
negative values to be a failure condition.
Also, close potential memory leak of LSA allocated memory.
To generate a diff of this commit:
cvs diff -r5.111 -r5.112 krb5/src/lib/krb5/ccache/ChangeLog
cvs diff -r5.17 -r5.18 krb5/src/lib/krb5/ccache/cc_mslsa.c