Content-Length: 283593 | pFad | https://github.com/python/cpython/issues/143010

90 `mailbox._create_carefully` has a possible toctou error · Issue #143010 · python/cpython · GitHub
Skip to content

mailbox._create_carefully has a possible toctou error #143010

@SiliconA-Z

Description

@SiliconA-Z

Bug report

Bug description:

We should just reuse the fd and not double close.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/143010

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy