[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-25 Thread miss-islington


miss-islington  added the comment:


New changeset 46af206ea4e9d67375559f8c584a996f70b7b7e5 by Miss Islington (bot) 
in branch '3.7':
closes bpo-34493: Objects/genobject.c: Add missing NULL check to 
compute_cr_origin() (GH-8911)
https://github.com/python/cpython/commit/46af206ea4e9d67375559f8c584a996f70b7b7e5


--
nosy: +miss-islington

___
Python tracker 

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



[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-25 Thread miss-islington


Change by miss-islington :


--
pull_requests: +8391

___
Python tracker 

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



[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-25 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 8fdd331bbf7e60dd81c02c7077f44c7939e2a05d by Benjamin Peterson 
(Alexey Izbyshev) in branch 'master':
closes bpo-34493: Objects/genobject.c: Add missing NULL check to 
compute_cr_origin() (GH-8911)
https://github.com/python/cpython/commit/8fdd331bbf7e60dd81c02c7077f44c7939e2a05d


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



[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-24 Thread Alexey Izbyshev


Change by Alexey Izbyshev :


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

___
Python tracker 

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



[issue34493] Objects/genobject.c: Missing NULL check in compute_cr_origin()

2018-08-24 Thread Alexey Izbyshev


New submission from Alexey Izbyshev :

The return value of PyTuple_New() is not checked for NULL at 
https://github.com/python/cpython/blob/ef8861c112ed1dac9351958c121bc24ca4ecdb08/Objects/genobject.c#L1130
 and then dereferenced.

--
components: Interpreter Core
messages: 324022
nosy: berker.peksag, izbyshev, njs, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Objects/genobject.c: Missing NULL check in compute_cr_origin()
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