https://bugzilla.mindrot.org/show_bug.cgi?id=1921
--- Comment #2 from Loganaden Velvindron <[email protected]> 2011-07-31 05:50:21 EST --- (In reply to comment #0) > Created attachment 2071 [details] > Fix for memory leak in sftp-client.c > > in do_hardlink(), buffer_init(&msg) may be unfreed > if the server does not support hardlink condition is met. > > Jonathan Armani (armani@) advises moving it down. > > Same thing happens in do_readlink(): if it's unable > to readlink(), the function returns without freeing > msg. > > I've attached a patch. This runs on both openbsd -current > & portable openssh -current. > > The attached patch concerns portable OpenSSH. > > Thanks & Regards, > //Logan > C-x-C-c My mistake. I sent another patch for OpenSSH on openbsd. http://marc.info/?l=openbsd-tech&m=131131952504707&w=2 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
