[Rd] finename length no check (PR#3466)

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Jul 19 19:46:42 MEST 2003


Fixed now (and similar cases), but why do you need a filename like that
(or anything like that long?)?  Many OSes have limits around 256 chars.

On Sat, 12 Jul 2003 nakama at ki.rim.or.jp wrote:

> Full_Name: Ei-ji Nakama
> Version: R-1.7.1
> OS: Linux
> Submission from: (NULL) (219.117.236.13)
> 
> 
> > filename <- "----+----1----+----2----+----3----+----4----+----5----+----6----
> +----7----+----8----+----9----+----0----+----1----+----2----+----3----+----4---
> -+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2--
> --+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0-
> ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
> ----+----9----+----0----+----1----+----2----+----3----+----4----+----5----+----
> 6----+----7----+----8----+----9----+----0----+----1----+----2"
> > png(file=filename,width=100,height=100,pointsize=12)
> Segmentation fault
> 
> src/modules/X11/devX11.c

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list