Potential memory leak in sshd [detected by melton]

Ángel González keisial at gmail.com
Mon Feb 6 09:07:51 EST 2012


On 05/02/12 23:04, Ángel González wrote:
> The 10th report is another false positive:
> Logic error 	Memory leak 	auth-options.i 	10587 	28 	View Report
> <http://lcs.ios.ac.cn/%7Exuzb/bugsfound/memleak/openssh-5.9p1/realbugs/sshd/report-mVEeJj.html#EndPath>
> 
> 
> http://lcs.ios.ac.cn/~xuzb/bugsfound/memleak/openssh-5.9p1/realbugs/sshd/report-mVEeJj.html#EndPath
> 
> Melton complains that in line 10587 the memory of data wasn't released,
> but there's a call to buffer_free(&data);
> in line 10585.

Same false positive for 11th, 13th & 14th.
http://lcs.ios.ac.cn/~xuzb/bugsfound/memleak/openssh-5.9p1/realbugs/sshd/report-UDrpYF.html#EndPath
http://lcs.ios.ac.cn/~xuzb/bugsfound/memleak/openssh-5.9p1/realbugs/sshd/report-BtfghY.html#EndPath
http://lcs.ios.ac.cn/~xuzb/bugsfound/memleak/openssh-5.9p1/realbugs/sshd/report-XXMHNK.html#EndPath




More information about the openssh-unix-dev mailing list