Debian bug report logs - #1796 missing call to ntohs in X server Package: xs3 ; Reported by: Ian Jackson . ----------------------------------------------------------------------- Message received at debian-bugs: From chiark.chu.cam.ac.uk!ian Fri Nov 3 01:28:23 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0tBIQA-0005nAC; Fri, 3 Nov 95 01:28 PST Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA27530 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 3 Nov 1995 01:27:53 -0800 Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp (Smail3.1.29.1 #33) id m0tBIQ3-0007qwC; Fri, 3 Nov 95 09:28 GMT Received: by chiark.chu.cam.ac.uk id m0tBIPw-0002ZxC (Debian /\oo/\ Smail3.1.29.1 #29.33); Fri, 3 Nov 95 09:28 GMT Message-Id: Date: Fri, 3 Nov 95 09:28 GMT From: Ian Jackson To: Debian bugs submission address Subject: missing call to ntohs in X server Package: xs3 Version: 3.1.2-1 I see: AUDIT: Fri Nov 3 09:21:37 1995: 23964 X: client 15 rejected from IP 127.0.0.1 port 32517 Auth name: MIT-MAGIC-COOKIE-1 But, from netstat we can see that the port wasn't 32517 (0x7f05) but 1407 (0x057f): tcp 1 0 localhost:6000 localhost:1407 TIME_WAIT There are probably other places where the server should convert port numbers between host and network byte order. Ian. ----------------------------------------------------------------------- Acknowledgement sent to Ian Jackson : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#1796 ; Package xs3 . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 09:43:03 GMT Fri 03 Nov