Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix _sasl_add_string #663

Merged
merged 1 commit into from
Sep 23, 2021
Merged

Fix _sasl_add_string #663

merged 1 commit into from
Sep 23, 2021

Conversation

hyc
Copy link
Contributor

@hyc hyc commented Sep 22, 2021

Fix #587 prev fix was incorrect.

_sasl_add_string adds zero terminator to the output string.
This cuts log messages after the first '%s' of the format string.
With the fix the function _sasl_log now logs the complete message.

Signed-off-by: Howard Chu [email protected]

Just a cleaned up version of the fix.

Signed-off-by: Howard Chu <[email protected]>
@quanah quanah merged commit 738c10f into cyrusimap:master Sep 23, 2021
@quanah quanah added this to the 2.1.28 milestone Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Off by one in _sasl_add_string function
2 participants