[Bug 458] New: sshd crashes with "fatal: mm_malloc: size too big"

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Dec 19 03:13:15 EST 2002


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

           Summary: sshd crashes with "fatal: mm_malloc: size too big"
           Product: Portable OpenSSH
           Version: 3.5p1
          Platform: MIPS
        OS/Version: IRIX
            Status: NEW
          Severity: normal
          Priority: P3
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: us- at gmx.de


When I build openssh-3.5p1 on a 32bit worksation running irix 6.5.18 sshd will
crash with the error message "fatal: mm_malloc: size too big" on each login
attempt. When I build it on a 64bit orign200 with the same OS version it works fine.
The problem seems to be the constant ULONG_MAX which is assigned to SIZE_T_MAX
in defines.h. I played around with the code and it seems like ULONG_MAX
evaluates to -1 even though it is defined as 4294967295U (by the way: what does
the U mean?) in /usr/include/limits.h.
I worked around this problem by replacing
#define SIZE_T_MAX ULONG_MAX
with
#define SIZE_T_MAX 4294967295
in defines.h before running make.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list