Skip to content

Memory leak in Modules/sre_lib.h #67877

Description

@abacabadabacaba
BPO23689
Nosy@vstinner, @ezio-melotti, @serhiy-storchaka, @animalize
PRs
  • [WIP] bpo-23689: Memory leak in Modules/sre_lib.h #11926
  • bpo-23689: re module, allocate SRE_REPEAT in a memory pool #12160
  • [WIP] bpo-23689: re module, fix memory leak when a match is terminated by a signal #32188
  • bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure #32223
  • bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure #32283
  • Files
  • sre_clean_repeat_data.patch
  • 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='https://github.com/serhiy-storchaka'closed_at=<Date2022-04-03.16:21:31.788>created_at=<Date2015-03-17.16:56:20.153>labels= ['expert-regex', '3.11', 'performance']
    title='Memory leak in Modules/sre_lib.h'updated_at=<Date2022-04-03.16:21:31.787>user='https://bugs.python.org/abacabadabacaba'

    bugs.python.org fields:

    activity=<Date2022-04-03.16:21:31.787>actor='serhiy.storchaka'assignee='serhiy.storchaka'closed=Trueclosed_date=<Date2022-04-03.16:21:31.788>closer='serhiy.storchaka'components= ['Regular Expressions']
    creation=<Date2015-03-17.16:56:20.153>creator='abacabadabacaba'dependencies= []
    files= ['38529']
    hgrepos= []
    issue_num=23689keywords= ['patch']
    message_count=13.0messages= ['238313', '238320', '238324', '238326', '238328', '238343', '238388', '335889', '337113', '416266', '416269', '416630', '416631']
    nosy_count=7.0nosy_names= ['vstinner', 'ezio.melotti', 'mrabarnett', 'abacabadabacaba', 'serhiy.storchaka', 'malin', 'alexei.romanov']
    pr_nums= ['11926', '12160', '32188', '32223', '32283']
    priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='resource usage'url='https://bugs.python.org/issue23689'versions= ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.11only security fixesextension-modulesC modules in the Modules dirtopic-regextype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions