• Guido van Rossum's avatar
    SF bug 533625 (Armin Rigo). rexec: potential security hole · 59b2a74c
    Guido van Rossum yazdı
    If a rexec instance allows writing in the current directory (a common
    thing to do), there's a way to execute bogus bytecode.  Fix this by
    not allowing imports from .pyc files (in a way that allows a site to
    configure things so that .pyc files *are* allowed, if writing is not
    allowed).
    
    I'll apply this to 2.2 and 2.1 too.
    59b2a74c
librexec.tex 11.1 KB