-
Andreas Rheinhardt authored
Before 257a83b9, certain buffers were zero-allocated in the init function and only reallocated lateron if they turned out to be too small; now they are only allocated during init, leading to use-of-uninitialized values lateron. The same could happen before if the dimensions are big enough so that the buffers would be reallocated, as the new part of the reallocated buffer would not be zeroed (happened for 960x960). So always zero the buffers in the function designed to init them. Reviewed-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
9267e2ff