Bug 299 - mmap problem with 3.3p1 version
Summary: mmap problem with 3.3p1 version
Status: CLOSED DUPLICATE of bug 285
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 21:45 AEST by Colin Leroy
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Leroy 2002-06-26 21:45:24 AEST
Hi,

I just upgraded to sshd 3.3p1, compile went well, but after testing it I have :
# ./sshd -d -p 2222
[...]
Connection from 192.168.0.40 port 3418
debug1: Client protocol version 2.0; client software version OpenSSH_3.2.3p1
debug1: match: OpenSSH_3.2.3p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.3
mmap(65536): Invalid argument
debug1: Calling cleanup 0x806c3b4(0x0)

With strace :
write(2, "debug1: Local version string SSH"..., 50debug1: Local version string
SSH-2.0-OpenSSH_3.3
) = 50
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
socketpair(PF_UNIX, SOCK_STREAM, 0, [3, 7]) = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) =
-1 EINVAL (Invalid argument)
write(2, "mmap(65536): Invalid argument\r\n", 31mmap(65536): Invalid argument
) = 31
write(2, "debug1: Calling cleanup 0x806c3b"..., 40debug1: Calling cleanup
0x806c3b4(0x0)


Tell me if I cut the log too much...
It happens on a Debian Linux, i386, kernel 2.2.20, glibc 2.1.3.

Regards,
Colin.
Comment 1 Darren Tucker 2002-06-26 22:03:45 AEST

*** This bug has been marked as a duplicate of 285 ***
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED