Skip to content

Commit

Permalink
Bug 705041: jbig2dec: Avoid uninitialized allocator in command-line t…
Browse files Browse the repository at this point in the history
…ool.
  • Loading branch information
sebras committed Nov 5, 2023
1 parent 1d1347e commit ee53a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbig2dec.c
Expand Up @@ -567,7 +567,7 @@ main(int argc, char **argv)
{
jbig2dec_params_t params;
jbig2dec_error_callback_state_t error_callback_state;
jbig2dec_allocator_t allocator_;
jbig2dec_allocator_t allocator_ = { 0 };
jbig2dec_allocator_t *allocator = &allocator_;
Jbig2Ctx *ctx = NULL;
FILE *f = NULL, *f_page = NULL;
Expand Down

0 comments on commit ee53a7e

Please sign in to comment.