[Django] #27459: Tuple index out of bounds when logging

16 views
Skip to first unread message

Django

unread,
Nov 7, 2016, 5:14:38 PM11/7/16
to django-...@googlegroups.com
#27459: Tuple index out of bounds when logging
-----------------------------------------+------------------------
Reporter: Brandon Chinn | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In `django.utils.log`, `ServerFormatter` indexes into `args` without first
checking its length when indexing `args[1]`, which causes an out of bounds
error. One way to reproduce this is to cause a broken pipe error (see
`django.core.servers.basehttp` line 85).

--
Ticket URL: <https://code.djangoproject.com/ticket/27459>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 7, 2016, 5:19:12 PM11/7/16
to django-...@googlegroups.com
#27459: Tuple index out of bounds when logging
-------------------------------+--------------------------------------

Reporter: Brandon Chinn | Owner: nobody
Type: Bug | Status: closed
Component: Uncategorized | Version: 1.10
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Brandon Chinn):

* status: new => closed
* resolution: => fixed


Comment:

Already fixed by #27271

--
Ticket URL: <https://code.djangoproject.com/ticket/27459#comment:1>

Django

unread,
Nov 7, 2016, 6:52:33 PM11/7/16
to django-...@googlegroups.com
#27459: Tuple index out of bounds when logging
-------------------------------+--------------------------------------

Reporter: Brandon Chinn | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 1.10
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

* resolution: fixed => duplicate
* component: Uncategorized => Utilities


--
Ticket URL: <https://code.djangoproject.com/ticket/27459#comment:2>

Reply all
Reply to author
Forward
0 new messages