Sigmund Kyrre Aas <as### [at] stud ntnu no> wrote...
> %s=5;
>
> causes
>
> MEGAPOV caused an invalid page fault...
>
> #local #declare and $ doesn't cause a crash.
>
> Btw what's s reserved for?
>
s is reserved for isosurface.
Actually, any error line that has a % in it has the potential to cause a
crash in POV (even in the official versions). This wasn't usually a problem
because % wasn't used very often in POV code.
The problem is because POV treats the error line as a C format string (think
of it as a printf).
This will be fixed in the next versions of MegaPov and POV-Ray.
-Nathan
Post a reply to this message
|