Bug 2208 - memleak in servconf.c
Summary: memleak in servconf.c
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: Other FreeBSD
: P5 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 11:00 AEDT by Arthur Mesh
Modified: 2014-03-04 11:00 AEDT (History)
0 users

See Also:


Attachments
proposed fix (1.46 KB, patch)
2014-03-04 11:00 AEDT, Arthur Mesh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Mesh 2014-03-04 11:00:46 AEDT
Created attachment 2414 [details]
proposed fix

(kex|mac|cipher)_alg_list() return dynamically allocated memory; however, this dynamically allocated memory is not freed when used in dump_config()

Attached is a proposed fix.

Thanks