diff --git a/CHANGES b/CHANGES index e5e0dd2d..1a120234 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ What's New for OpenJPEG + : added October 25, 2011 ++ [mickael] WIP: add a file to exclude some valgrind errors (detected with ctest_memcheck) related to png lib found with ubuntu10.04 platform * [mickael] WIP: solve problems with reading of elements outside the tilec->data buffer in dwt October 21, 2011 diff --git a/CMake/openjpeg_valgrind.supp b/CMake/openjpeg_valgrind.supp new file mode 100644 index 00000000..f1076469 --- /dev/null +++ b/CMake/openjpeg_valgrind.supp @@ -0,0 +1,39 @@ + + +{ + + Memcheck:Cond + fun:deflate + obj:/lib/libpng12.so.0.42.0 + obj:/lib/libpng12.so.0.42.0 + obj:/lib/libpng12.so.0.42.0 + fun:png_write_row + fun:imagetopng + fun:main +} +{ + + Memcheck:Value8 + fun:crc32 + obj:/lib/libpng12.so.0.42.0 + fun:png_write_chunk + obj:/lib/libpng12.so.0.42.0 + obj:/lib/libpng12.so.0.42.0 + obj:/lib/libpng12.so.0.42.0 + obj:/lib/libpng12.so.0.42.0 + fun:png_write_row + fun:imagetopng + fun:main +} +{ + + Memcheck:Param + write(buf) + fun:__write_nocancel + fun:_IO_file_write@@GLIBC_2.2.5 + fun:_IO_do_write@@GLIBC_2.2.5 + fun:_IO_file_close_it@@GLIBC_2.2.5 + fun:fclose@@GLIBC_2.2.5 + fun:imagetopng + fun:main +}