Skip Menu |
 

From: hartmans@mit.edu
Subject: SVN Commit

Fix for mk_cred.c: calloc() not malloc()

Avoid calling free() in cleanup on uninitialized sub-ptrs if error occurs.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

https://github.com/krb5/krb5/commit/2d4cf1e6217c23a34275d558f4ee53a07eaf9c72
Commit By: hartmans
Revision: 25496
Changed Files:
U trunk/src/lib/krb5/krb/mk_cred.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r25496 from trunk

------------------------------------------------------------------------
r25496 | hartmans | 2011-12-02 13:52:12 -0500 (Fri, 02 Dec 2011) | 11 lines

ticket: 7034
subject: mk_cred: memory management
target_version: 1.10
tags: pullup

Fix for mk_cred.c: calloc() not malloc()

Avoid calling free() in cleanup on uninitialized sub-ptrs if error occurs.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

https://github.com/krb5/krb5/commit/ce84a530f426e6c5f00abd3f171ec895921d6c18
Commit By: tlyu
Revision: 25519
Changed Files:
U branches/krb5-1-10/src/lib/krb5/krb/mk_cred.c