[New-bugs-announce] [issue34436] Overallocation is never disabled in _PyBytes_FormatEx()

Alexey Izbyshev report at bugs.python.org
Sun Aug 19 14:51:43 EDT 2018

New submission from Alexey Izbyshev <izbyshev at ispras.ru>:

The condition for disabling overallocation at 225b055/Objects/bytesobject.c:822 is always false.

Reported by Svace static analyzer.

components: Interpreter Core
messages: 323763
nosy: inada.naoki, izbyshev, serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Overallocation is never disabled in _PyBytes_FormatEx()
type: performance
versions: Python 3.6, Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list