[Bug 1090] Increase MAX_SESSIONS?

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Oct 3 13:49:39 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1090





------- Additional Comments From dtucker at zip.com.au  2005-10-03 13:49 -------
(In reply to comment #2)
> Since sessions is initialized as NULL, could you use xrealloc (which is
> guaranteed to be happy with xrealloc(NULL, size)) rather than calloc/realloc
> to simplify this?

OK, that's a bad idea.  xrealloc will fatal() if the allocation fails, realloc
allows graceful failure by refusing to allocate the new session.



------- 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