[Rd] R documentation -- buffer overflow? (PR#3400)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Fri Jul 4 19:04:07 MEST 2003


>>>>> "Martin" == Martin Schlather <Martin.Schlather at uni-bayreuth.de>
>>>>>     on Fri, 4 Jul 2003 15:59:21 +0200 (MET DST) writes:


    Martin> I have attached a larger Rd file that causes an error when

Unfortunately, attachments are always "mangled" when going
through R-bugs;  we strongly recommend to put that file on the
Net, and only send an URL to it.

    Martin> compiled by
    Martin> R CMD Rdconv -t txt xswms2d.Rd

    Martin> (for example). If the size is reduced the error vanishes,
    Martin> see the lines 230 and 527 in the file.

    Martin> I could not find an error within my text
I know how smart you are, but still, just because you didn't
find it, does not really prove ....  ;-)
see below

    Martin>  and so my guess is that there is some buffer
    Martin> overflow within the compiler.

I don't think so.  When I use cut and paste to recreate your
file,
and do (in a {t}csh; (ba|k)?sh needs another syntax)

     R CMD Rdconv --debug -t txt xswms2d.Rd >& xswms2d.txt

The resulting file becomes
----------------------------------------------------------
-- read file 'xswms2d.Rd';

-- mark_brackets:............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
 .............................

******* Syntax error: mismatched or missing brackets in
/-----

\name{xswms2d}
\alias{xswms2d}
\title{Modelling of water flux and solute transport}

<..........>
<..........>

--------------------------------------------------------------

and is even a bit larger than the original.
I can hardly believe that
  ``Syntax error: mismatched or missing brackets in ...''
is caused by a (perl) buffer overflow.

Best regards to Bayreuth, in any case
 
Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><



More information about the R-devel mailing list