sre "bytecode" verifier #47737
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
assignee = 'https://github.com/gvanrossum' closed_at = <Date 2008-08-05.03:40:36.345> created_at = <Date 2008-08-01.17:53:31.811> labels =  title = 'sre "bytecode" verifier' updated_at = <Date 2008-10-13.20:03:59.272> user = 'https://github.com/gvanrossum'
activity = <Date 2008-10-13.20:03:59.272> actor = 'jcea' assignee = 'gvanrossum' closed = True closed_date = <Date 2008-08-05.03:40:36.345> closer = 'gvanrossum' components =  creation = <Date 2008-08-01.17:53:31.811> creator = 'gvanrossum' dependencies =  files = ['11030'] hgrepos =  issue_num = 3487 keywords = ['patch'] message_count = 7.0 messages = ['70574', '70596', '70606', '70682', '70692', '70695', '70729'] nosy_count = 6.0 nosy_names = ['gvanrossum', 'barry', 'terry.reedy', 'gregory.p.smith', 'jcea', 'pitrou'] pr_nums =  priority = 'high' resolution = 'accepted' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue3487' versions = ['Python 2.6', 'Python 3.0']
The text was updated successfully, but these errors were encountered:
Attached is a verifier for the binary code used by the _sre module (this
I wrote this for Google App Engine, and am making the patch available as
Barry, I'm assigning this to you only so that you can decide whether
# Copyright 2008 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# Unless required by applicable law or agreed to in writing, software
It's not necessary to include these copyrights and bytecode in the
Based on my understanding of the above and PyDev discussions, I see the
If this is included in the next betas, the announcement of such might
I should add that the protection this offers is against attempts to
It is not possibly to generate such bad RE "bytecode" by writing an evil
Thus, only people who are worried about malicious use of ctypes should