[Heimdal-source-changes] [heimdal/heimdal] 0f8032: Allow zero-length encrypt IOVs in _krb5_evp_encryp...
GitHub
noreply at github.com
Tis Sep 18 23:46:08 CEST 2018
Branch: refs/heads/sxw/iovec-more-fixes
Home: https://github.com/heimdal/heimdal
Commit: 0f803235a0aff0132988bc4e1bd84212a7b91032
https://github.com/heimdal/heimdal/commit/0f803235a0aff0132988bc4e1bd84212a7b91032
Author: Simon Wilkinson <sxw at auristor.com>
Date: 2018-09-18 (Tue, 18 Sep 2018)
Changed paths:
M lib/gssapi/test_context.c
M lib/krb5/crypto-evp.c
Log Message:
-----------
Allow zero-length encrypt IOVs in _krb5_evp_encrypt_iov_cts()
The iovec encryption code doesn't handle 0 length iovecs correctly.
Instead of just skipping them, _krb5_evp_encrypt_iov_cts() will spin
on the 0 length iovec.
Modify the _krb5_evp_iov_cursor_expand helper so that iovec expansion
simply skips 0 length iovecs, and make _krb5_evp_iov_cursor_nextcrypt
do the same.
Original bug report and tests from Andrew Bartlett <abartlet at samba.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Heimdal-source-changes
mailing list