Re: Faces v1.5.0.

Mark Shand (shand@prl.dec.com)
Wed, 17 Apr 91 19:39:07 +0200

bug report

In get_options, char *next is not initialized prior to calling
read_str(&next, ...
In the first statement of read_str(str, ... we find:
if (*str != NULL) (void) free(*str) ;
Oh dear! This is very sloppy. I was lucky enough to be alerted of
it due to the following warning (on mips):
Fixed up unaligned data access for pid 2266 (faces) at pc 0x40cfb4
Fix by changing the declaration of next at get.c:148 to:
char *next = 0;