summaryrefslogtreecommitdiffstats
path: root/doc/admin/admin_commands
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-07-15 12:20:26 -0400
committerGreg Hudson <ghudson@mit.edu>2013-07-15 12:20:26 -0400
commitd9457b501cbab535e5968dbdf195ca334b9fa555 (patch)
treec9ff36befead0c3530f82b1574ffeafb7333af94 /doc/admin/admin_commands
parent4365d313c6109988268b746bcaf1c08f7b7a593c (diff)
downloadkrb5-d9457b501cbab535e5968dbdf195ca334b9fa555.tar.gz
krb5-d9457b501cbab535e5968dbdf195ca334b9fa555.tar.xz
krb5-d9457b501cbab535e5968dbdf195ca334b9fa555.zip
Avoid allocating zero key_data structures
When we allocate space for an array of key_data structures, make sure we allocate at least one, so we don't spuriously fail on platforms where malloc(0) returns NULL. Where we use malloc, use k5calloc instead. Where we use krb5_db_alloc or realloc, just allocate an extra entry.
Diffstat (limited to 'doc/admin/admin_commands')
0 files changed, 0 insertions, 0 deletions