Date: Tue, 28 Aug 2001 19:40:33 +1000 From: chris@aims.com.au To: <FreeBSD-gnats-submit@freebsd.org> Subject: ports/30159: [MAINTAINER UPDATE] net/rdesktop: patch to stop coredumps Message-ID: <200108280935.f7S9Znw42731@dbserver2.aims.private>
next in thread | raw e-mail | index | archive | help
>Number: 30159 >Category: ports >Synopsis: [MAINTAINER UPDATE] net/rdesktop: patch to stop coredumps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 28 02:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 4.3-RELEASE i386 >Organization: AIMS Independent Computer Professionals >Environment: System: FreeBSD dbserver2.aims.private 4.3-RELEASE FreeBSD 4.3-RELEASE #4: Fri Jun 8 20:34:41 EST 2001 root@dbserver2.aims.private:/usr/src/sys/compile/DBSERVER i386 >Description: Included is a patch to stop rdesktop from dumping core if the hostname is greater than 30 characters. Thanks to Assar for this patch. >How-To-Repeat: Run rdesktop without the -n option on a host whose hostname is > 30 chars >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/rdesktop/Makefile,v retrieving revision 1.3 diff -u -w -r1.3 Makefile --- Makefile 2001/08/18 23:24:24 1.3 +++ Makefile 2001/08/27 15:14:06 @@ -35,5 +35,6 @@ @${PERL} -pi.orig -e 's:^install.*:install\: rdesktop:g' ${WRKSRC}/Makefile @${PERL} -pi.orig -e 's:^.*\(INSTALL\) rdp-srvr.*::g' ${WRKSRC}/Makefile @${PERL} -pi.orig -e 's:<endian.h>:<machine/endian.h>:g' ${WRKSRC}/rdesktop.h + @${PATCH} ${PATCH_ARGS} < files/patch-aa .include <bsd.port.mk> --- /dev/null Mon Aug 27 17:11:19 2001 +++ files/patch-aa Mon Aug 27 16:49:47 2001 @@ -0,0 +1,12 @@ +--- secure.c~ Mon Aug 27 16:33:56 2001 ++++ secure.c Mon Aug 27 16:36:19 2001 +@@ -387,6 +387,9 @@ + { + int hostlen = 2 * ( hostname == 0 ? 0 : strlen (hostname)); + ++ if (hostlen > 30) ++ hostlen = 30; ++ + out_uint16_be (s, 5); /* unknown */ + out_uint16_be (s, 0x14); + out_uint8 (s, 0x7c); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108280935.f7S9Znw42731>