On Sun, 2007-02-18 at 20:44 +1100, William Uther wrote:
> Hi all,
> 
>    A while ago I came across the fact that popen was disabled in the  
> Lua hooks in monotone for security reasons.  Here is a patch that  
> replaces it with a security conscious version (like spawn() replaces  
> execute()).  The 'security consciousness' is simply accepting the  
> command as an array of arguments rather than a single string to be  
> parsed by the shell.
> 
>    Returning a FILE* from C functions in Lua is tricky (there is a  
> Lua FAQ on just this).  This wasn't working for a while, then it was,  
> and I don't understand what changed.  If someone wants to look at  
> that, I wouldn't mind.  It would be good if people could test it on a  
> bunch of different systems too...
> 
>    I've only implemented this on Unix.  I have no windows knowledge  
> or ability to test.

I'm hoping to have time to work on the Windows half moderately soon
(maybe even this week?). I can commit it once that's done.


-- 
Timothy

Free (experimental) public monotone hosting: http://mtn-host.prjek.net



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to