comparison COPYRIGHT.md @ 30262:f43902a87bf1

gl2ps-print.cc: Avoid integer overflow in multiplication. * libinterp/corefcn/gl2ps-print.cc (gl2ps_renderer::draw_image, gl2ps_renderer::draw_pixels): Cast integer size argument of OCTAVE_LOCAL_BUFFER to size_t before multiplication to avoid integer overflow. The overflow is very unlikely to happen. But it's an easy fix that doesn't clutter the code too much.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 31 Oct 2021 12:13:23 +0100
parents c8e40b19c499
children
comparison
equal deleted inserted replaced
30261:a49c635b179d 30262:f43902a87bf1