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
gcode-importer opened this issue May 5, 2010 · 1 comment
Closed

realloc maybe too big (t2.c) #26

gcode-importer opened this issue May 5, 2010 · 1 comment

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 26

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)


Reported by anton.lionel on 2010-05-05 14:28:19

@gcode-importer
Copy link
Author

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

Reported by malaterre on 2012-01-11 19:03:41

  • Status changed: 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

2 participants