Well, here is a simple example, tested
on a clean REBOL/View 1.2.8.3.1 3-Aug-2002 (beta)
and a clean REBOL/View 1.2.1.3.1 21-Jun-2001
I could probably do some more experiments
and figure out some more details, but
anyway:
-----------
crash: func ["demonstrates a bug in parse that crashes rebol"
target [any-string!] {try "/../"}
/local start post
][
parse/all target [
start: "/"
any [
"../" post: (remove/part start post)
| to "/" ; to or thru will cause the crash
]
]
]
crash "/../"
-----------
Maybe someone can reduce it further.
Anton.
> I am sure it can crash rebol. I just don't have a
> simple example yet. I will try to strip it down
> to a small example.
>
> Anton.
>
> > It has been discussed with RT, but they preferred to explain the current
> > behaviour rather than to change it (compatibility reasons?). If you (or
> > others) let them know that you prefer simplicity, they may change their
> > mind. (Please, do!) OTOH, I am not sure if any crashes can happen
> > this way?
> >
> > ----- Original Message -----
> > From: "Anton"...
> >
> > >
> > > I agree with your proposed behaviour for parse.
> > > I suppose you have submitted this idea
> > > to feedback a long time ago?
> > > It might also be submitted with more urgency
> > > because such a dangerous removal can crash rebol.
> > >
> > > Anton.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.