[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-24 Thread miss-islington


miss-islington  added the comment:


New changeset c7f543520161b895796a571881da74e805d0b1eb by Miss Islington (bot) 
in branch '3.7':
closes bpo-34471: _datetime: Add missing NULL check to 
tzinfo_from_isoformat_results. (GH-8869)
https://github.com/python/cpython/commit/c7f543520161b895796a571881da74e805d0b1eb


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-24 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8372

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-24 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 498845368ff0f6238750ab1d443e7cf4ec98ccd2 by Benjamin Peterson 
(Alexey Izbyshev) in branch 'master':
closes bpo-34471: _datetime: Add missing NULL check to 
tzinfo_from_isoformat_results. (GH-8869)
https://github.com/python/cpython/commit/498845368ff0f6238750ab1d443e7cf4ec98ccd2


--
nosy: +benjamin.peterson
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-23 Thread Alexey Izbyshev


Change by Alexey Izbyshev :


--
keywords: +patch
pull_requests: +8345
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34471] _datetime: Missing NULL check in tzinfo_from_isoformat_results()

2018-08-23 Thread Alexey Izbyshev


New submission from Alexey Izbyshev :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com