Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tag._message: avoid NULL pointer dereference
A tag message can be empty. In that case, git_tag_message returns NULL. PyBytes_FromString doesn't check its argument for nullness, and therefore accessing _message on a tag with an empty message segfaults Python.
- Loading branch information