Skip to content

[3.9] bpo-44285: getpath.c: Assert that env_file is NULL during an error check (GH-26486)#26496

Merged
vstinner merged 1 commit into
python:3.9from
miss-islington:backport-bdb5690-3.9
Jun 2, 2021
Merged

[3.9] bpo-44285: getpath.c: Assert that env_file is NULL during an error check (GH-26486)#26496
vstinner merged 1 commit into
python:3.9from
miss-islington:backport-bdb5690-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 2, 2021

Copy link
Copy Markdown
Contributor

This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
(cherry picked from commit bdb5690)

Co-authored-by: stratakis cstratak@redhat.com

https://bugs.python.org/issue44285

…eck (pythonGH-26486)

This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
(cherry picked from commit bdb5690)

Co-authored-by: stratakis <cstratak@redhat.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@stratakis and @encukou: Status check is done, and it's a success ✅ .

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@vstinner
vstinner merged commit 85b587a into python:3.9 Jun 2, 2021
@miss-islington
miss-islington deleted the backport-bdb5690-3.9 branch June 2, 2021 23:50
@miss-islington

Copy link
Copy Markdown
Contributor Author

@stratakis and @encukou: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants