Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ImageInput): Initialize pixels of partial tile conversion buffer. (…
…AcademySoftwareFoundation#4462) When writing a partial tile, the unused pixels still go through float conversion. This means, that floating point operations are done on uninitialized data. This can easily lead to NaN and to floating point exceptions, if those were to be enabled. This change will set the shared buffer used for all partial tiles to all zero pixels. Tested by running valgrind before and after the change FIXES: AcademySoftwareFoundation#4461 Signed-off-by: Bram Stolk <[email protected]>
- Loading branch information