VERSION: R6.4, public-patch-3 (XFree as comes with SuSE 7.0)
        Sources come from
-rw-r--r--   1 root     root     48503359 Aug  2 18:09 XFree86-4.0.tar.gz
        as delivered on the SuSE 7.0 distribution.

CLIENT MACHINE and OPERATING SYSTEM: irrelevant (SuSE Linux 7.0)
DISPLAY TYPE: XF86 (irrelevant)
WINDOW MANAGER: fvwm95 (irrelevant)
COMPILER: (irrelevant) gcc version 2.95.2 19991024 (release)
AREA: Xprt
SYNOPSIS: Xprt build error causes core dump
DESCRIPTION:
  The lib/font/bitmap directory contains stuff in bitmapfunc.c
  and bitscale.c which needs to remain synchronised. It says
  so in the comments in the sources.
  Some of the structures that need to be synchronised have
  #ifdefs in them, one of the macros required for that is
  incorrectly not passed for one of the files, by a bug in
  the Imakefile.

REPEAT BY:
  Run Xprt with a non-empty fonts.dir, which causes it to
  load PMF files. The function call for one of the PMF
  actions gets read beyond an array boundary due to the
  bug. In my case it was 0 which is not a very good function
  so Xprt crashed.

SAMPLE FIX:
A one line fix will do :
dell: {84} diff -c xc/lib/font/bitmap/Imakefile- xc/lib/font/bitmap/Imakefile
*** xc/lib/font/bitmap/Imakefile-       Fri Nov 19 15:43:40 1999
--- xc/lib/font/bitmap/Imakefile        Thu Dec 28 15:55:14 2000
***************
*** 49,54 ****
--- 49,55 ----
  LibraryObjectRule()
  
  SpecialCLibObjectRule(bitmapfunc,$(ICONFIGFILES),$(GZIP_DEFS))
+ SpecialCLibObjectRule(bitscale,$(ICONFIGFILES),$(GZIP_DEFS))
  SubdirLibraryRule($(OBJS))
  NormalLintTarget($(SRCS))
  

-- 
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://www.lesstif.org)
                Oleo    (http://www.gnu.org/software/oleo/oleo.html)

Reply via email to