Skip to content

gssapi: fix memory leak of output token in multi round context#1733

Closed
iboukris wants to merge 1 commit into
curl:masterfrom
iboukris:gss_multi_memleak
Closed

gssapi: fix memory leak of output token in multi round context#1733
iboukris wants to merge 1 commit into
curl:masterfrom
iboukris:gss_multi_memleak

Conversation

@iboukris

@iboukris iboukris commented Aug 4, 2017

Copy link
Copy Markdown
Contributor

When multiple rounds are needed to establish a security context
(usually ntlm), we overwrite old token with a new one without free.
Found by proposed gss tests using stub a gss implementation (by
valgrind error), though I have confirmed the leak with a real
gssapi implementation as well.

(detached from PR #1687)

When multiple rounds are needed to establish a security context
(usually ntlm), we overwrite old token with a new one without free.
Found by proposed gss tests using stub a gss implementation (by
valgrind error), though I have confirmed the leak with a real
gssapi implementation as well.
@mention-bot

Copy link
Copy Markdown

@Frenche, thanks for your PR! By analyzing the history of the files in this pull request, we identified @captain-caveman2k, @bagder and @vszakats to be potential reviewers.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.02%) to 75.263% when pulling df9415c on frenche:gss_multi_memleak into 54aef85 on curl:master.

@MarcelRaad MarcelRaad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. The Travis failure should hopefully be fixed by #1734.

@MarcelRaad MarcelRaad closed this in 0b11660 Aug 4, 2017
@MarcelRaad

Copy link
Copy Markdown
Member

Thanks a lot!

@iboukris iboukris deleted the gss_multi_memleak branch August 5, 2017 08:15
@iboukris

iboukris commented Aug 5, 2017

Copy link
Copy Markdown
Contributor Author

Thank you!

@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 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.

4 participants