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

Modules/timemodule.c: Memory leak in time_strftime() #78916

Closed
ZackerySpytz mannequin opened this issue Sep 19, 2018 · 4 comments
Closed

Modules/timemodule.c: Memory leak in time_strftime() #78916

ZackerySpytz mannequin opened this issue Sep 19, 2018 · 4 comments
Labels
3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir

Comments

@ZackerySpytz
Copy link
Mannequin

ZackerySpytz mannequin commented Sep 19, 2018

BPO 34735
Nosy @serhiy-storchaka, @pganssle, @ZackerySpytz, @miss-islington
PRs
  • bpo-34735: Fix a memory leak in Modules/timemodule.c #9418
  • [3.7] bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418) #9469
  • [3.6] bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418) #9470
  • 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 2018-09-21.09:15:28.976>
    created_at = <Date 2018-09-19.12:55:23.952>
    labels = ['extension-modules', '3.7', '3.8']
    title = 'Modules/timemodule.c: Memory leak in time_strftime()'
    updated_at = <Date 2018-09-21.09:15:28.975>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2018-09-21.09:15:28.975>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-21.09:15:28.976>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2018-09-19.12:55:23.952>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34735
    keywords = ['patch']
    message_count = 4.0
    messages = ['325754', '325958', '325971', '325972']
    nosy_count = 4.0
    nosy_names = ['serhiy.storchaka', 'p-ganssle', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['9418', '9469', '9470']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34735'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Sep 19, 2018

    There is a missing PyMem_Free(format) in time_strftime(). I'll create a PR.

    @ZackerySpytz ZackerySpytz mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir labels Sep 19, 2018
    @serhiy-storchaka
    Copy link
    Member

    New changeset 91e6c87 by Serhiy Storchaka (Zackery Spytz) in branch 'master':
    bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)
    91e6c87

    @miss-islington
    Copy link
    Contributor

    New changeset f37496e by Miss Islington (bot) in branch '3.6':
    bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)
    f37496e

    @miss-islington
    Copy link
    Contributor

    New changeset 975f3cb by Miss Islington (bot) in branch '3.7':
    bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)
    975f3cb

    @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.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants