| Summary: | GSSAPI doesn't cleanup methoddata (leaks some memory). | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Markus <markus> | ||||||
| Component: | Kerberos support | Assignee: | Assigned to nobody <unassigned-bugs> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | minor | CC: | djm, dtucker, markus | ||||||
| Priority: | P5 | ||||||||
| Version: | 7.9p1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 2915 | ||||||||
| Attachments: |
|
||||||||
|
Description
Markus
2019-01-08 21:35:23 AEDT
Another side issue: some gssapi-userauth related functions could be made static and there is a function prototype (input_gssapi_hash) that is no longer used. Created attachment 3221 [details]
patch to fix memory leak and side issues.
The initial patch now breaks after other patches (old packet api) were applied to v7.9. I'm attaching a new patch. It also slightly changes the pubkey_cleanup, adding it to the method table as a cleanup handler, rather than calling it explicitely. Created attachment 3234 [details]
Fixed patch for v7.9 after opacket removal
applies again to current v7.9 (portable)
Put on list for 8.0 This has been committed and will be in the 8.0 release - thanks. Move resolved bugs -> CLOSED after 8.0 release |