]> granicus.if.org Git - openjpeg/commit
In image.c, changed the opj_image_create0() memory allocation from malloc() to calloc...
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Tue, 22 Jan 2008 10:35:26 +0000 (10:35 +0000)
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Tue, 22 Jan 2008 10:35:26 +0000 (10:35 +0000)
commit04966097fc1d92fbfb6650d43b115447d5370c2c
tree7964a5585d0bcde6002060b6498475180b3f60a7
parent8c2ae8b03d58d566cddfc94628e111878ab24258
In image.c, changed the opj_image_create0() memory allocation from malloc() to calloc() in order to avoid segfaults when freeing the memory allocated for the coding of bad images. Thanks to Christopher Layne for this improvement.
ChangeLog
libopenjpeg/image.c