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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to