babl: slightly pad source buffers for creating conversions
authorØyvind Kolås <pippin@gimp.org>
Thu, 14 May 2020 15:53:50 +0000 (17:53 +0200)
committerØyvind Kolås <pippin@gimp.org>
Thu, 14 May 2020 16:46:25 +0000 (18:46 +0200)
commit411dae60ae1c564090fa7c6a3943550ec1f1d1be
treea06dac3690e84a109d2ee2f7e2e587db64eec550
parentfcfb6e802aeb7ea243aab3de7c8806f2bff3fef8
babl: slightly pad source buffers for creating conversions

This is done because many babls conversions get optimized by C compilers
to read 16bytes of data at a time. Causing valgrind to report
"Invalid read of size 16" as a false positive. By padding the data at
least when creating conversions we mask the false positives.
babl/babl-conversion.c
babl/babl-fish-reference.c