Skip Menu |

Subject: git commit

Fix gss_pseudo_random leak on zero length output

Nobody is likely to ever ask for zero bytes of output from
gss_pseudo_random, but if they do, just return an empty buffer without
allocating. Otherwise we leak memory because gss_release_buffer
doesn't do anything to buffers with length 0.
Author: Greg Hudson <>
Commit: a44945dfa6502d4cd99943b2448ada389bc22b73
Branch: master
src/lib/gssapi/krb5/prf.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)