Skip to content
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

(RFC) Crashfix: Do not feed certain bogus utf8 into python bindings #1747

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Jan 28, 2025

Found by: BigBadWouf
Patch by: michaelortmann
Fixes: #1711

One-line summary:
Should fix certain crashes like the one reported via #1711

Additional description (if needed):

Test cases demonstrating functionality (if applicable):
Instead of crashing, log like:

[08:22:27] [@] :testuser!~michael@localhost PRIVMSG #foo :
                                                          [08:22:27] bogus utf8, python bind "*python:pubm:74062bafa29" not triggered

@michaelortmann michaelortmann changed the title (RFC) Do not feed certain bogus utf8 into python bindings (RFC) Crashfix: Do not feed certain bogus utf8 into python bindings Jan 28, 2025
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.

ISO charset make crash with python
1 participant