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

Error handler segfault #98

Closed
kustra opened this issue Apr 24, 2022 · 1 comment
Closed

Error handler segfault #98

kustra opened this issue Apr 24, 2022 · 1 comment

Comments

@kustra
Copy link

kustra commented Apr 24, 2022

This line results in a segfault in case of an error if I don't have an error handler set up:

writer->error_fn(writer, writer->error);

I see that error_fn is checked for NULL everywhere else before call.

Nice work, btw. I like the API design.

@ludocode
Copy link
Owner

ludocode commented May 7, 2022

Fixed! Sorry about this. I need to plan a release soon to get a few of these builder bugs out.

This issue was closed.
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

No branches or pull requests

2 participants