Search found 2 matches
- 2012-03-13T19:12:00-07:00
- Forum: Bugs
- Topic: Memory leaks when reading png corrupt image
- Replies: 3
- Views: 10300
Re: Memory leaks when reading png corrupt image
but at line #2824, the quantom_info in stack is NULL. When png_read_row() is error, it would be jumped to line #2824, the stack info is restored, so the quantom_info reset to NULL.
- 2012-03-13T07:25:09-07:00
- Forum: Bugs
- Topic: Memory leaks when reading png corrupt image
- Replies: 3
- Views: 10300
Memory leaks when reading png corrupt image
hi, guys:
I'm using IM6.7.5, and there may be a memory leak in coders/png.c. Here is the code:
2821 /*
2822 Convert PNG pixels to pixel packets.
2823 */
2824 if (setjmp(png_jmpbuf(ping)))
2825 {
2826 /*
2827 PNG image is corrupt.
2828 */
2829 png_destroy_read_struct(&ping,&ping_info,&end ...
I'm using IM6.7.5, and there may be a memory leak in coders/png.c. Here is the code:
2821 /*
2822 Convert PNG pixels to pixel packets.
2823 */
2824 if (setjmp(png_jmpbuf(ping)))
2825 {
2826 /*
2827 PNG image is corrupt.
2828 */
2829 png_destroy_read_struct(&ping,&ping_info,&end ...