[Bug 910] known_hosts port numbers
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Oct 6 20:37:40 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=910
------- Additional Comments From dtucker at zip.com.au 2005-10-06 20:37 -------
(In reply to comment #34)
> The patch id=980 works without any problem in HP-UX.
Thanks.
> This call asprintf is not supported in HP-UX libc and it is part of glibc.
asprintf is a GNUism but it's present on many other systems, but not all. If we
end up using in within OpenSSH then we'll add an implementation to
libopenbsd-compat for those systems that don't have it natively.
> Even when I used the equivalent sprintf to avoid compilation errors, it
> results in coredump as said in attachment id=954.
A literal asprintf->sprintf replacement doesn't allocate any memory, so unless
you did a malloc too then that's probably the reason for the crash (attempting
to deref an uninitialized pointer).
> If needed I will attach the gdb backtrace of the coredump.
Not necessary, unless you can reproduce the crash with attachment #980.
In general, when reporting problems you should mention if you've made any
changes, even if if you think they're not related. Usually it won't matter, but
sometimes it does. Same goes for oddball compiler flags (if you're seeing
intermittent crashes after building with "./configure
--with-cflags=-'-Dsizeof(x)=rand()'" then we don't care so much :-)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list