8000 Add error handling for PyType_Ready by ZhouyangJia · Pull Request #3402 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add error handling for PyType_Ready #3402

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

Merged
merged 2 commits into from
Mar 13, 2020
Merged

Add error handling for PyType_Ready #3402

merged 2 commits into from
Mar 13, 2020

Conversation

ZhouyangJia
Copy link
Contributor

Add individual error messages required in #2700

The API PyType_Ready may fail, when it happens, the program may crash.

ChangeLog: collectd: Error-handling code of PyType_Ready has been added.

The API PyType_Ready may fail, when it happens, the program may crash.
@ZhouyangJia ZhouyangJia marked this pull request as ready for review March 9, 2020 02:36
@ZhouyangJia ZhouyangJia requested a review from a team as a code owner March 9, 2020 02:36
@rubenk
Copy link
Contributor
rubenk commented Mar 9, 2020

If you'd like to continue with this PR, can you please close your old one?

Compare the return value of PyType_Ready with -1 directly.
@rubenk rubenk merged commit 87865ea into collectd:master Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0