Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mcnc!rutgers!ucla-cs!zen!ucbvax!jade!violet.berkeley.edu!jkh
From: jkh@violet.berkeley.edu (Jordan K. Hubbard)
Newsgroups: comp.windows.x
Subject: Fixes to paint and xedit in V11.2
Message-ID: <4477@jade.BERKELEY.EDU>
Date: Fri, 24-Jul-87 15:48:17 EDT
Article-I.D.: jade.4477
Posted: Fri Jul 24 15:48:17 1987
Date-Received: Sat, 25-Jul-87 21:43:47 EDT
Sender: usenet@jade.BERKELEY.EDU
Reply-To: jkh@violet.berkeley.edu (Jordan K. Hubbard)
Organization: University of California, Berkeley
Lines: 19

Ed Moy and I found a few irritating bugs..

1. in line 232 of clients/xedit/xedit.c, rindex is blindly called
	with argv[1] to see if it's a display argument. On the
	vax, null pointers can be deref'd, so no problem.. On the
	Sun, however.. This is fixed by checking to see if the arg
	is null first..

2. in line 150 of clients/paint/main.c, XDrawImageString is called
	without a display argument! You hosers!


I said it once before last year and I'll say it again:

	"Someday MIT will discover lint.."

					Jordan Hubbard
					Ed Moy
					U.C. Berkeley