Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#27459 closed Bug (duplicate)

Tuple index out of bounds when logging

Reported by: Brandon Chinn Owned by: nobody
Component: Utilities Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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).

Change History (2)

comment:1 Changed 6 years ago by Brandon Chinn

Resolution: fixed
Status: newclosed

Already fixed by #27271

comment:2 Changed 6 years ago by Tim Graham

Component: UncategorizedUtilities
Resolution: fixedduplicate
Note: See TracTickets for help on using tickets.
Back to Top