diff options
| author | Greg Hudson <ghudson@mit.edu> | 2014-01-18 13:03:32 -0500 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2014-01-18 13:03:32 -0500 |
| commit | a44945dfa6502d4cd99943b2448ada389bc22b73 (patch) | |
| tree | 68899f19e51fc2b1aba49c596766109c2248cbb2 /src/tests | |
| parent | 6f8d5135334c9ddb674f9824e750872b3b0642ea (diff) | |
| download | krb5-a44945dfa6502d4cd99943b2448ada389bc22b73.tar.gz krb5-a44945dfa6502d4cd99943b2448ada389bc22b73.tar.xz krb5-a44945dfa6502d4cd99943b2448ada389bc22b73.zip | |
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.
ticket: 7838 (new)
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions
