Skip to content

Conversation

@mthuurne
Copy link
Contributor

@mthuurne mthuurne commented Feb 18, 2019

If the method raises an exception, PyObject_CallObject() returns NULL,
but the code didn't check for that, which led to a segfault.

Fixes #108

If the method raises an exception, PyObject_CallObject() returns NULL,
but the code didn't check for that, which led to a segfault.

Fixes #108
@davidism

This comment has been minimized.

@davidism davidism added this to the 1.1.1 milestone Feb 18, 2019
@mthuurne

This comment has been minimized.

@ThiefMaster

This comment has been minimized.

@mthuurne

This comment has been minimized.

@davidism davidism merged commit 1ab4f0a into pallets:master Feb 20, 2019
davidism added a commit that referenced this pull request Feb 20, 2019
@davidism
Copy link
Member

Cherry picked to 1.1.x branch: eb9c1d4
Added changelog: d1b3c5a

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault when __html__ method raises an exception

3 participants