Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible leak in initialization of errmap for OSError #86591

Closed
serhiy-storchaka opened this issue Nov 21, 2020 · 4 comments
Closed

Possible leak in initialization of errmap for OSError #86591

serhiy-storchaka opened this issue Nov 21, 2020 · 4 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage

Comments

@serhiy-storchaka
Copy link
Member

BPO 42425
Nosy @serhiy-storchaka
PRs
  • bpo-42425: Fix possible leak in initialization of errmap for OSError #23446
  • [3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). #24025
  • [3.9] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). #24057
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-01-02.11:05:39.642>
    created_at = <Date 2020-11-21.15:01:13.665>
    labels = ['interpreter-core', '3.8', '3.9', '3.10', 'performance']
    title = 'Possible leak in initialization of errmap for OSError'
    updated_at = <Date 2021-01-02.11:05:39.642>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-01-02.11:05:39.642>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-01-02.11:05:39.642>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2020-11-21.15:01:13.665>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42425
    keywords = ['patch']
    message_count = 4.0
    messages = ['381565', '381569', '384188', '384219']
    nosy_count = 1.0
    nosy_names = ['serhiy.storchaka']
    pr_nums = ['23446', '24025', '24057']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue42425'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    @serhiy-storchaka
    Copy link
    Member Author

    There is a potential leak when adding item to errmap (errno to OSError subclass mapping) fails.

    @serhiy-storchaka serhiy-storchaka added 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage labels Nov 21, 2020
    @serhiy-storchaka
    Copy link
    Member Author

    New changeset ed1007c by Serhiy Storchaka in branch 'master':
    bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446)
    ed1007c

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 1a544e1 by Serhiy Storchaka in branch '3.8':
    [3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). (GH-24025)
    1a544e1

    @serhiy-storchaka
    Copy link
    Member Author

    New changeset 7695d83 by Serhiy Storchaka in branch '3.9':
    [3.9] bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446). (GH-24057)
    7695d83

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes 3.9 only security fixes 3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant