Michael T Farnworth b468353a37 mkrasimage: fix segmentation fault
Code was attempting to determine the size of the file
before it was actually known and allocating insufficient
memory space.  Images above a certain size caused a
segmentation fault.  Moving the calloc() ensured ensured
that large images didn't result in a buffer overflow on
memcpy().

Signed-off-by: Michael T Farnworth <michael@turf.org>
[fixed name in From to match one in SoB]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
..
2012-10-08 09:59:50 +00:00
2013-01-06 11:11:30 +00:00
2010-04-12 17:08:57 +00:00
2019-04-06 19:14:06 +02:00
2012-10-18 07:22:57 +00:00