On Sun, Apr 25, 2010 at 06:58:06PM -0700, Thomas J. Hruska wrote: > Running 'openssl s_client' on 0.9.8n without any additional arguments > crashes openssl.exe.
On a Linux system it reports a connection refused (to localhost:4433) ... socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [0], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(4433), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused) close(3) = 0 dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 6), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95a2b000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "connect: Connection refused\n", 28) = 28 close(3) = 0 munmap(0x2a95a2b000, 4096) = 0 write(2, "connect:errno=29\n", 17) = 17 shutdown(127, 0 /* receive */) = -1 EBADF (Bad file descriptor) close(127) = -1 EBADF (Bad file descriptor) exit_group(1) = ? No crash. Just like 1.0.0 (apart from the mysterious shutdown(2) called on an what appears to be an uninitialized file-descriptor, which is different between the two versions, 42 vs. 127). ... socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [0], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(4433), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused) close(3) = 0 dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 6), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95a5c000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "connect: Connection refused\n", 28) = 28 close(3) = 0 munmap(0x2a95a5c000, 4096) = 0 write(2, "connect:errno=29\n", 17) = 17 shutdown(42, 0 /* receive */) = -1 EBADF (Bad file descriptor) close(42) = -1 EBADF (Bad file descriptor) exit_group(1) = ? -- Viktor. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org