Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PySequence_List is not checked for NULL return value #48667

Closed
CWRUResearcher1 mannequin opened this issue Nov 25, 2008 · 2 comments
Closed

PySequence_List is not checked for NULL return value #48667

CWRUResearcher1 mannequin opened this issue Nov 25, 2008 · 2 comments
Labels
performance Performance or resource usage

Comments

@CWRUResearcher1
Copy link
Mannequin

CWRUResearcher1 mannequin commented Nov 25, 2008

BPO 4417
Nosy @benjaminp

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-11-25.02:31:06.929>
created_at = <Date 2008-11-25.01:15:05.448>
labels = ['invalid', 'performance']
title = 'PySequence_List is not checked for NULL return value'
updated_at = <Date 2008-11-25.02:31:06.909>
user = 'https://bugs.python.org/CWRUResearcher1'

bugs.python.org fields:

activity = <Date 2008-11-25.02:31:06.909>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2008-11-25.02:31:06.929>
closer = 'benjamin.peterson'
components = []
creation = <Date 2008-11-25.01:15:05.448>
creator = 'CWRU_Researcher1'
dependencies = []
files = []
hgrepos = []
issue_num = 4417
keywords = []
message_count = 2.0
messages = ['76379', '76386']
nosy_count = 2.0
nosy_names = ['benjamin.peterson', 'CWRU_Researcher1']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue4417'
versions = ['Python 2.5.3']

@CWRUResearcher1
Copy link
Mannequin Author

CWRUResearcher1 mannequin commented Nov 25, 2008

Python-2.5.2/Objects/abstract.c(PySequence_Fast)
Line 1611

PySequence_List is not checked for NULL return value

@CWRUResearcher1 CWRUResearcher1 mannequin added the performance Performance or resource usage label Nov 25, 2008
@benjaminp
Copy link
Contributor

There doesn't need to be a NULL check here. The exception is merely
propagated to the caller.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance or resource usage
Projects
None yet
Development

No branches or pull requests

1 participant