openwrt/tools/firmware-utils
Michael T Farnworth 96092a8eea 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>
(cherry picked from commit b468353a37)
2020-03-29 18:47:32 +02:00
..
src mkrasimage: fix segmentation fault 2020-03-29 18:47:32 +02:00
Makefile firmware-utils: add lxlfw tool for generating Luxul firmwares 2020-02-07 11:05:26 +01:00