Skip to content

Commit

Permalink
Fix stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmf01 committed Jul 15, 2024
1 parent fc32adf commit 309b81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flac/encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ int EncoderSession_finish_ok(EncoderSession *e, foreign_metadata_t *foreign_meta
{
FLAC__StreamEncoderState fse_state = FLAC__STREAM_ENCODER_OK;
int ret = 0;
FLAC__byte empty_md5sum = {0};
FLAC__byte empty_md5sum[16] = {0};
FLAC__bool verify_error = false;

if(e->encoder) {
Expand Down

0 comments on commit 309b81d

Please sign in to comment.