[New-bugs-announce] [issue18684] Pointers point out of array bound in _sre.c

Serhiy Storchaka report at bugs.python.org
Thu Aug 8 13:56:24 CEST 2013


New submission from Serhiy Storchaka:

In _sre.c pointers can point out of boundaries of array. This is an undefined behavior and is one of causes of a bug in issue17998 (end-ptr can be negative). The proposed patch change code to check if pointers will point out of boundaries before their changing.

----------
components: Regular Expressions
files: sre_ptr_out_of_bounds.patch
keywords: patch
messages: 194661
nosy: ezio.melotti, mrabarnett, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Pointers point out of array bound in _sre.c
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file31197/sre_ptr_out_of_bounds.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18684>
_______________________________________


More information about the New-bugs-announce mailing list