[Bug 1496] ssh fails with xmalloc: zero size

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 29 23:50:33 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1496


Colin Watson <cjwatson at debian.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cjwatson at debian.org




--- Comment #3 from Colin Watson <cjwatson at debian.org>  2008-08-29 23:50:26 ---
Shouldn't you pass len * 4 + 1 as the third argument to strnvis too?
openbsd-compat/vis.c says:

 *      Strnvis will write no more than siz-1 bytes (and will NULL
terminate).

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list