Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Replace asprintf with snprintf in kerberospw.c #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

traveltissues
Copy link

asprintf is a gnu extension function. This commit replaces calls to this
with a call to the standard snprintf function when reporting errors in
the change_user_krb5pwd function.

By submitting a request, you represent that you have the right to license
your contribution to Apple and the community, and agree that your
contributions are licensed under the Apache License Version 2.0.

For existing files modified by your request, you represent that you have
retained any existing copyright notices and licensing terms. For each new
file in your request, you represent that you have added to the file a
copyright notice (including the year and the copyright owner's name) and the
Calendar and Contacts Server's licensing terms.

Before submitting the request, please make sure that your request follows
the Calendar and Contacts Server's guidelines for contributing
code
.

@traveltissues
Copy link
Author

@dreness I've removed the ws change (https://github.com/apple/ccs-pykerberos/compare/a4248ad387f3090fd459d3d1c702a884ef9028fa..9147b64947461152a68729390feffd5f6cecd03f). This change would be useful downstream for some packages relying on pykerberos on non-linux, thanks.

asprintf is a gnu extension function. This commit replaces calls to this
with a call to the standard snprintf function when reporting errors in
the change_user_krb5pwd function.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant