Date: Wed, 25 Aug 1999 14:34:44 -0700 (PDT) From: sobomax@altavista.net To: freebsd-gnats-submit@freebsd.org Subject: ports/13381: [PATCH] The tcpconn program from mserver port sigfault'ing when invoked w/o arguments. Message-ID: <19990825213444.8644414DA0@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 13381 >Category: ports >Synopsis: [PATCH] The tcpconn program from mserver port sigfault'ing when invoked w/o arguments. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 25 14:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: 4.0-CURRENT >Organization: Vega International Capital >Environment: Doesn't really matters. >Description: The tcpconn program from mserver port (which I'm maintaining) sigfault'ing when invoked w/o arguments. >How-To-Repeat: cd /usr/ports/comms/mserver ; make all install ; tcpconn >Fix: --- tcpconn.c.orig Thu Aug 26 00:22:26 1999 +++ tcpconn.c Thu Aug 26 00:30:52 1999 @@ -44,6 +44,9 @@ char buff[BUFF_SIZE], device[128], *s; *device = 0; + if (argc < 2) + errorf ("tcpconn: error: hostname required\n" \ + "Usage: tcpconn [-d pty] [-p port] hostname[:port]\n"); for (n = 1; *argv[n] == '-'; n++) switch (argv[n][1]) { >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?19990825213444.8644414DA0>