[345] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Possible Xfig bug

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sun Mar 5 18:49:31 1989

Date: Sun, 5 Mar 89 15:50:41 PST
From: jtkohl%bbo010.DEC@decwrl.dec.com (John Kohl)
To: 10.150::bug-sipb@athena.mit.edu
We may want to investigate this, as well as get the latest versions of Xfig
from expo (including patches)
 
------- Forwarded Message
 
Return-Path: 10.150::beck@svax.cs.cornell.edu
Date: Fri, 3 Mar 89 23:34:57 PST
From: 10.150::beck@svax.cs.cornell.edu (Micah Beck  3-Mar-89 0834 EST)
To: dana@thumper.bellcore.com, jim@expo.lcs.mit.edu, jtkohl@ATHENA.MIT.EDU,
        ken@cs.rochester.edu
Subject: XFig Bug?
 
Here's a bug report which may apply to XFig as well as Fig-FS.
/micah
- ------
 
> Date: Thu, 2 Mar 89 16:24:31 EST
> From: Isidore G. Bendrihem <issy@eevlsi.ee.columbia.edu>
> To: beck@cs.cornell.edu
> Status: RO
> 
> Hi,
> I just downloaded fig1.4-fs and tried it.  I created a figure with 65
> objects and saved it to a file.  Later on, when I tried to read the file
> again, the program crashed.  I traced the problem to read_lineobject which
> gets called when figs reads the input file.  The problem is with Point_malloc
> which allocates space for x,y coordinates plus a pointer to the next
> coordinate.  If the line has only one point, there is the possibility that
> the pointer points to some bad address.  To correct the problem, insert
> 
> p->next=NULL
> 
> after Point_malloc gets called (around line 441 in read.c).
> 
> Hardware: Sun 3/60 color, SUN OS4.00  (we're still waiting for the
> 4.01 tapes!!).
> 
> It is possible to have lines with a single point.  Just create a
> POLYLINE that starts and ends at the same pixel.
> 
> Isidore Bendrihem
> issy@eevlsi.ee.columbia.edu
> igb@cunixa.cc.columbia.edu
> 
	
 
 
========================================================================
Received: from ATHENA.MIT.EDU by decwrl.dec.com (5.54.5/4.7.34)
	id AA21039; Fri, 3 Mar 89 05:35:56 PST
Received: from ATHENA.MIT.EDU by decwrl.dec.com (5.54.5/4.7.34)
	for bbo010::jtkohl; id AA21039; Fri, 3 Mar 89 05:35:56 PST
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA28598; Fri, 3 Mar 89 08:35:41 EST
Received: by PRIAM.MIT.EDU (5.45/4.7) id AA21798; Fri, 3 Mar 89 08:35:35 EST
Received: by PRIAM.MIT.EDU (5.45/4.7) id AA21788; Fri, 3 Mar 89 08:35:20 EST
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA28590; Fri, 3 Mar 89 08:35:11 EST
Received: from SVAX.CS.CORNELL.EDU by cu-arpa.cs.cornell.edu (5.61.1/1.91d)
	id AA11061; Fri, 3 Mar 89 08:34:44 -0500
Message-Id: <8903031334.AA24274@svax.cs.cornell.edu>
Received: by svax.cs.cornell.edu (5.61.1/1.91d)
	id AA24274; Fri, 3 Mar 89 08:34:37 -0500
 
------- End of Forwarded Message
 

home help back first fref pref prev next nref lref last post