Skip to content

Add a missing incref to c_headers_to_py #1165

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

Conversation

mitsuhiko
Copy link
Contributor

Before the c_headers_to_py function had a branch where a refcount was
not correctly incremented. This can cause the Py_None object to
eventually deallocate which will crash the interpreter.

Before the `c_headers_to_py` function had a branch where a refcount was
not correctly incremented.  This can cause the `Py_None` object to
eventually deallocate which will crash the interpreter.
@ghost
Copy link

ghost commented Jul 19, 2021

It looks like @mitsuhiko hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.

Once you've signed reply with [clabot:check] to prove it.

Appreciation of efforts,

clabot

@mitsuhiko
Copy link
Contributor Author

[clabot:check]

@ghost
Copy link

ghost commented Jul 19, 2021

@confluentinc It looks like @mitsuhiko just signed our Contributor License Agreement. 👍

Always at your service,

clabot

@jonchiu jonchiu requested review from jliunyu and mhowlett July 20, 2021 06:57
Copy link
Contributor

@mhowlett mhowlett left a comment

Choose a reason for hiding this comment

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

LGTM! thanks

@mhowlett mhowlett merged commit 6b7f9a6 into confluentinc:master Jul 28, 2021
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy