From: Tim Wiess <tim@nop.cx>
To: brantley@coraid.com
Cc: 9fans@cse.psu.edu
Subject: Re: [9fans] drawterm
Date: Fri, 4 Nov 2005 15:08:51 -0800 [thread overview]
Message-ID: <06abac94216027a88f669cd81b5ed6b1@akira.nop.cx> (raw)
In-Reply-To: <4e28f7a872bb2d9da1a1cb16019380b1@coraid.com>
> i just downloaded it. ran it under fc4 and it drops core.
> now, if i can just find out where they put the core file!!
I noticed that it seg faults when you don't specify an auth server. Due
to a null dereference in netmkaddr(authserver, "tcp", "567") from
authdial().
I added the patch below to fix it as well as provide support for $auth.
Index: cpu.c
===================================================================
RCS file: /cvs/drawterm/cpu.c,v
retrieving revision 1.3
diff -u -r1.3 cpu.c
--- cpu.c 4 Nov 2005 17:06:57 -0000 1.3
+++ cpu.c 4 Nov 2005 22:59:48 -0000
@@ -181,6 +181,12 @@
fatal(0, "set $cpu");
system = p;
}
+ if(authserver == nil) {
+ p = getenv("auth");
+ if(p == 0)
+ fatal(0, "set $auth");
+ authserver = p;
+ }
if(err = rexcall(&data, system, srvname))
fatal(1, "%s: %s", err, system);
next prev parent reply other threads:[~2005-11-04 23:08 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 17:21 Russ Cox
2005-11-04 20:09 ` Gabriel Diaz
2005-11-04 18:21 ` "Nils O. Selåsdal"
2005-11-04 20:47 ` Gabriel Diaz
2005-11-04 20:18 ` Russ Cox
2005-11-04 20:13 ` Axel Belinfante
2005-11-04 22:14 ` Axel Belinfante
2005-11-04 22:43 ` Axel Belinfante
2005-11-05 21:46 ` [9fans] drawterm on solaris Axel Belinfante
2005-11-05 21:55 ` Axel Belinfante
2005-11-05 23:09 ` Axel Belinfante
2005-11-04 22:50 ` [9fans] drawterm Brantley Coile
2005-11-04 23:01 ` andrey mirtchovski
2005-11-04 23:04 ` Brantley Coile
2005-11-04 23:08 ` Tim Wiess [this message]
2005-11-04 23:16 ` andrey mirtchovski
2005-11-07 17:49 ` [9fans] drawterm Russ Cox
-- strict thread matches above, loose matches on Subject: below --
2005-11-04 19:28 [9fans] drawterm Steve Simon
2005-10-18 14:00 Russ Cox
2005-10-06 8:22 Andrew Simmons
2005-10-06 9:47 ` Dave Lukes
2005-10-06 14:25 ` Vester Thacker
2005-10-06 13:16 ` Brantley Coile
2005-10-06 15:08 ` Russ Cox
2005-10-05 12:12 Russ Cox
2004-08-12 20:26 boyd, rounin
2004-08-12 23:47 ` Russ Cox
2004-08-13 0:03 ` boyd, rounin
2003-12-17 13:51 boyd, rounin
2003-12-17 4:10 ` okamoto
2003-12-17 14:31 ` boyd, rounin
2003-12-17 7:11 ` Dan Cross
2003-09-10 14:38 David Presotto
2003-09-10 14:48 ` mirtchov
2003-09-10 16:00 ` andrey mirtchovski
2003-09-10 19:47 ` Atanas Bachvaroff
2003-09-10 21:00 ` Geoff Collyer
2003-09-11 6:18 ` okamoto
2003-09-11 13:12 ` mirtchov
2003-09-12 1:07 ` okamoto
2003-09-11 14:17 ` Axel Belinfante
2003-09-12 2:10 ` okamoto
2003-09-11 2:05 ` boyd, rounin
2003-09-11 4:31 ` Skip Tavakkolian
2002-07-17 22:18 rob pike, esq.
2002-07-17 21:17 Sam
2002-07-17 21:25 ` Sam
2000-12-20 4:11 Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06abac94216027a88f669cd81b5ed6b1@akira.nop.cx \
--to=tim@nop.cx \
--cc=9fans@cse.psu.edu \
--cc=brantley@coraid.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).