[Bug 299] New: mmap problem with 3.3p1 version
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Jun 26 21:45:27 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=299
Summary: mmap problem with 3.3p1 version
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: colin at colino.net
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.
------- 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