allowed in sandbox,
which means malicious file can run arbitrary command via modeline like
this:
vim: fdm=expr fde=feedkeys("\\:!touch\ phantom_was_here\\")
I guess you can see the consequences. Is this known/intentional?
--
Best regards,
Tomas Go
Michael Henry wrote :
> A.J.Mechelynck wrote:
> > Tomas Golembiovsky wrote:
> >> vim: fdm=expr fde=feedkeys("\\:!touch\ phantom_was_here\\")
> >>
> >> I guess you can see the consequences. Is this known/intentional?
> >>
> >
>
intln("doh!");
}
});
}
}
And some findings - it indent's correctly if you:
a) put the if .. { .. } on one line
b) remove the if
c) remove the while()
d) add body to the while
--
Best regards,
Tomas Golembiovsky
--
||- - -
|
| Law