Commit Graph

6 Commits (b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58)

Author SHA1 Message Date
Andrea Dalla Costa b886d3c8f3 firmware-utils/mkfwimage: fix possible memory and resource leak
Add missing calls to `free` for variable `mem`.
Add missing call to `fclose` for variable `f`.

The same changes were made in both `mkfwimage.c` and `mkfwimage2.c`.

Signed-off-by: Andrea Dalla Costa <andrea@dallacosta.me>
4 years ago
Alexander Couzens 5a5934f0c2 tools/mkfwimage2: remove 256 length limit for partition images
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
John Crispin 16317ceb4f firmware-utils: allow mkfwimage2 to use - in partition names
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47975
9 years ago
Gabor Juhos 113b6b96c1 firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
12 years ago
Gabor Juhos 35d1918758 firmware-utils/mkfwimage2: fix a typo
SVN-Revision: 15770
15 years ago
Gabor Juhos a1f36eaa94 firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
SVN-Revision: 12975
16 years ago