Skip to content

gh-102941: Fix "‘subobj’ may be used uninitialized in this function" warning in bytes_methods.c - #102942

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
sobolevn:issue-102941
Mar 27, 2023
Merged

gh-102941: Fix "‘subobj’ may be used uninitialized in this function" warning in bytes_methods.c#102942
JelleZijlstra merged 1 commit into
python:mainfrom
sobolevn:issue-102941

Conversation

@sobolevn

@sobolevnsobolevn commented Mar 23, 2023

Copy link
Copy Markdown
Member

I still think that this warning is a false positive and there's no way to actually abuse it.
So, I hope that = NULL will just make it go away.

@sobolevn

sobolevn commented Mar 23, 2023

Copy link
Copy Markdown
MemberAuthor

The warning is gone 🎉
The second one is solved here: #102940

@kumaraditya303 can you please take a look? :)

@sobolevn

Copy link
Copy Markdown
MemberAuthor

@erlend-aasland can you please take a look? :)
All PRs get this warning, it is kinda annoying and might scare people.

@kumaraditya303

Copy link
Copy Markdown
Contributor

I'm travelling currently, please find another reviewer or wait till I'm back.

@JelleZijlstra
JelleZijlstra merged commit 2cdc518 into python:mainMar 27, 2023
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request Mar 27, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@sobolevn@kumaraditya303@JelleZijlstra@bedevere-bot