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

realloc maybe too big (t2.c) #26

Closed
GoogleCodeExporter opened this issue Jul 18, 2015 · 1 comment
Closed

realloc maybe too big (t2.c) #26

GoogleCodeExporter opened this issue Jul 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hello,

t2.c
line 568 :

cblk->data = (unsigned char*) opj_realloc(cblk->data, (cblk->len + seg-
>newlen) * sizeof(unsigned char*)); // <-- I believe this was meant to be 
sizeof(unsigned char)


Original issue reported on code.google.com by anton.li...@gmail.com on 5 May 2010 at 2:28

@GoogleCodeExporter
Copy link
Author

$ svn ci -m"BUG: 26 Fix issue with memory consumption."
Sending        libopenjpeg/t2.c
Transmitting file data .
Committed revision 1322.

Original comment by mathieu.malaterre on 11 Jan 2012 at 7:03

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant