summaryrefslogtreecommitdiff
path: root/src/lib/openjpip/dec_clientmsg_handler.c
diff options
context:
space:
mode:
authorAous Naman <aous72@yahoo.com>2022-08-12 02:29:40 +1000
committerGitHub <noreply@github.com>2022-08-11 18:29:40 +0200
commit4da04cd3e88a0280be526e16077c540a45cbbfa8 (patch)
tree9cc54b9ffc8b81904704b926c390114de940a93d /src/lib/openjpip/dec_clientmsg_handler.c
parent59fb7ea736a10d3476e35f7bbefeb0a74b939607 (diff)
Replace the assert in mel_init to an if statement to address an issue with fuzzing. (#1436)
Modified the mel_init code to replace the assert statement with an if statement, returning false when an incorrect sequence of bytes are encountered in the MEL segment. Similar code should be added to the main MEL decoding subrountine, but the change is more involved; in any case, an incorrect sequence produces incorrect results, but should not be harmful or cause a crash.
Diffstat (limited to 'src/lib/openjpip/dec_clientmsg_handler.c')
0 files changed, 0 insertions, 0 deletions