Skip Menu |
 

From: raeburn@mit.edu
Subject: SVN Commit

This makes them safer to call in various contexts where NULL may leak
through, and makes analysis easier.

Also, remove some checks for NULL before calling a free routine that
will also check for NULL.

https://github.com/krb5/krb5/commit/80aacf61cfd858308a2954ff3101c40bba991081
Commit By: raeburn
Revision: 21920
Changed Files:
U trunk/src/lib/krb5/krb/free_rtree.c
U trunk/src/lib/krb5/krb/init_ctx.c
U trunk/src/lib/krb5/krb/kfree.c
U trunk/src/lib/krb5/krb/preauth2.c
U trunk/src/lib/krb5/os/free_krbhs.c
U trunk/src/lib/krb5/os/promptusr.c
From: raeburn@mit.edu
Subject: SVN Commit

Provide omitted return value in last change.

https://github.com/krb5/krb5/commit/d1f85bcdc2b22b5fa35dac780bfd3ba57da33c25
Commit By: raeburn
Revision: 21922
Changed Files:
U trunk/src/lib/krb5/os/free_krbhs.c
From: raeburn@mit.edu
Subject: SVN Commit

Fix one more case of an explicit null check before calling a free
function that does the null check.

Also, use krb5_free_keyblock_contents instead of open-coding all the
work (and not trying hard enough to clear the memory).

https://github.com/krb5/krb5/commit/2d8221c9d983d8625cd556aa88ea6302143b326f
Commit By: raeburn
Revision: 21926
Changed Files:
U trunk/src/lib/krb5/krb/kfree.c
From: tlyu@mit.edu
Subject: SVN Commit
Download (untitled) / with headers
text/plain 1.8KiB

pull up r21920, r21922, r21926 from trunk

------------------------------------------------------------------------
r21926 | raeburn | 2009-02-09 15:39:54 -0500 (Mon, 09 Feb 2009) | 7 lines
Changed paths:
M /trunk/src/lib/krb5/krb/kfree.c

ticket: 6377

Fix one more case of an explicit null check before calling a free
function that does the null check.

Also, use krb5_free_keyblock_contents instead of open-coding all the
work (and not trying hard enough to clear the memory).
------------------------------------------------------------------------
r21922 | raeburn | 2009-02-09 13:13:08 -0500 (Mon, 09 Feb 2009) | 3 lines
Changed paths:
M /trunk/src/lib/krb5/os/free_krbhs.c

ticket: 6377

Provide omitted return value in last change.
------------------------------------------------------------------------
r21920 | raeburn | 2009-02-09 12:53:21 -0500 (Mon, 09 Feb 2009) | 8 lines
Changed paths:
M /trunk/src/lib/krb5/krb/free_rtree.c
M /trunk/src/lib/krb5/krb/init_ctx.c
M /trunk/src/lib/krb5/krb/kfree.c
M /trunk/src/lib/krb5/krb/preauth2.c
M /trunk/src/lib/krb5/os/free_krbhs.c
M /trunk/src/lib/krb5/os/promptusr.c

ticket: 6377
subject: make krb5_free_* functions ignore NULL

This makes them safer to call in various contexts where NULL may leak
through, and makes analysis easier.

Also, remove some checks for NULL before calling a free routine that
will also check for NULL.
------------------------------------------------------------------------

https://github.com/krb5/krb5/commit/871f74f5d9ec5e23e98e28d8966719e42e899e55
Commit By: tlyu
Revision: 22032
Changed Files:
U branches/krb5-1-7/src/lib/krb5/krb/free_rtree.c
U branches/krb5-1-7/src/lib/krb5/krb/init_ctx.c
U branches/krb5-1-7/src/lib/krb5/krb/kfree.c
U branches/krb5-1-7/src/lib/krb5/krb/preauth2.c
U branches/krb5-1-7/src/lib/krb5/os/free_krbhs.c
U branches/krb5-1-7/src/lib/krb5/os/promptusr.c