Closed kustra closed 2 years ago
This line results in a segfault in case of an error if I don't have an error handler set up: https://github.com/ludocode/mpack/blob/df5860e8e49b16ad9afcafd9fe8f36008b066a91/src/mpack/mpack-writer.c#L1769
I see that error_fn is checked for NULL everywhere else before call.
error_fn
NULL
Nice work, btw. I like the API design.
Fixed! Sorry about this. I need to plan a release soon to get a few of these builder bugs out.
This line results in a segfault in case of an error if I don't have an error handler set up: https://github.com/ludocode/mpack/blob/df5860e8e49b16ad9afcafd9fe8f36008b066a91/src/mpack/mpack-writer.c#L1769
I see that
error_fn
is checked forNULL
everywhere else before call.Nice work, btw. I like the API design.