Skip to content

Make Curl_gss_log_error more verbose#738

Closed
iboukris wants to merge 1 commit intocurl:masterfrom
iboukris:new_gss_log
Closed

Make Curl_gss_log_error more verbose#738
iboukris wants to merge 1 commit intocurl:masterfrom
iboukris:new_gss_log

Conversation

@iboukris
Copy link
Contributor

Dispaly also the GSS_C_GSS_CODE (major code) when specified,
instead of only GSS_C_MECH_CODE (minor code).

In addition, the old code was printing twice a colon after the
prefix and also miscalculated the length of the buffer in between
calls to gss_display_status (the length of ": " was missing).

Also, gss_buffer is not guaranteed to be NULL terminated and
need to restrict reading by its length.

Discussed over #723

Dispaly also the GSS_C_GSS_CODE (major code) when specified,
instead of only GSS_C_MECH_CODE (minor code).

In addition, the old code was printing twice a colon after the
prefix and also miscalculated the length of the buffer in between
calls to gss_display_status (the length of ": " was missing).

Also, gss_buffer is not guaranteed to be NULL terminated and
need to restrict reading by its length.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @captain-caveman2k, @jchaffraix and @bagder to be potential reviewers

@bagder bagder closed this in d5fc6e1 Mar 29, 2016
@bagder
Copy link
Member

bagder commented Mar 29, 2016

Thanks, I fixed a mistake in a comment and a minor indentation error.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants