[New-bugs-announce] [issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

Alexey Izbyshev report at bugs.python.org
Thu Aug 23 06:14:40 EDT 2018


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

The return value of new_delta() is not checked for NULL at https://github.com/python/cpython/blob/ccd99752675042bd5f67d332c5b0ed85ba1f2da3/Modules/_datetimemodule.c#L1292 and then dereferenced.

Reported by Svace static analyzer.

----------
components: Extension Modules
messages: 323934
nosy: belopolsky, izbyshev, p-ganssle, serhiy.storchaka
priority: normal
severity: normal
status: open
title: _datetime: Missing NULL check in tzinfo_from_isoformat_results()
type: behavior
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34471>
_______________________________________


More information about the New-bugs-announce mailing list