Skip to content

Traceback objects allow accessing frame objects without triggering audit hooks #86966

@ammaraskar

Description

@ammaraskar
BPO 42800
Nosy @vstinner, @tiran, @markshannon, @zooba, @ammaraskar, @miss-islington, @lunixbochs
PRs
  • bpo-42800: add audit hooks for f_code and tb_frame #24182
  • bpo-42800: Rename AUDIT_READ to PY_AUDIT_READ #25736
  • [3.9] bpo-42800: Add audit events for f_code and tb_frame (GH-24182) #25737
  • [3.8] bpo-42800: Add audit events for f_code and tb_frame (GH-24182) #25849
  • Files
  • c_audit_ext.zip
  • check_hooks.py: visual test for audit hook changes
  • 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/zooba'
    closed_at = <Date 2021-05-03.19:52:38.694>
    created_at = <Date 2021-01-01.00:16:58.630>
    labels = ['type-security', '3.8', 'library', '3.9', '3.10']
    title = 'Traceback objects allow accessing frame objects without triggering audit hooks'
    updated_at = <Date 2021-05-03.19:52:38.694>
    user = 'https://github.com/ammaraskar'

    bugs.python.org fields:

    activity = <Date 2021-05-03.19:52:38.694>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-05-03.19:52:38.694>
    closer = 'steve.dower'
    components = ['Library (Lib)']
    creation = <Date 2021-01-01.00:16:58.630>
    creator = 'ammar2'
    dependencies = []
    files = ['49729', '49755']
    hgrepos = []
    issue_num = 42800
    keywords = ['patch', 'security_issue']
    message_count = 29.0
    messages = ['384143', '384704', '384705', '384706', '384710', '384713', '384719', '384733', '384749', '384988', '385401', '385410', '385425', '385429', '385440', '385450', '385512', '385517', '385518', '385519', '387547', '387560', '392359', '392360', '392361', '392365', '392370', '392804', '392806']
    nosy_count = 7.0
    nosy_names = ['vstinner', 'christian.heimes', 'Mark.Shannon', 'steve.dower', 'ammar2', 'miss-islington', 'lunixbochs2']
    pr_nums = ['24182', '25736', '25737', '25849']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue42800'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions