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

Resource leak in opj_j2k_decode_one_tile in case of failure #597

Closed
mayeut opened this issue Sep 17, 2015 · 0 comments
Closed

Resource leak in opj_j2k_decode_one_tile in case of failure #597

mayeut opened this issue Sep 17, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@mayeut
Copy link
Collaborator

mayeut commented Sep 17, 2015

/* move into the codestream to the the first SOT (FIXME or not move?)*/
if (!(opj_stream_read_seek(p_stream, p_j2k->cstr_index->main_head_end + 2, p_manager) ) ) {
  opj_event_msg(p_manager, EVT_ERROR, "Problem with seek function\n");
  return OPJ_FALSE;
}

l_current_datais not freed

@mayeut mayeut added the bug label Sep 17, 2015
@mayeut mayeut added this to the OPJ v2.1.1 milestone Sep 17, 2015
@mayeut mayeut self-assigned this Sep 17, 2015
@mayeut mayeut closed this as completed in a4e93c3 Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant