1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils
Thomas Jarosch 2ee2a9697a Fix crash on uninitialized variable
The WRITE() macro checks if the "fw" pointer
is open upon fwrite() error. Since fw was
not initialized before use, it might crash for non-zero fw.

cppcheck reported.
[utils/jz4740_tools/HXFreplace.c:187]: (error) Uninitialized variable: fw

Change-Id: I558170f9f17828c9fd515a5da36ad8b5cb30a9ad
2015-01-13 21:57:24 +01:00
..
AMS/hacking amsinfo: save files with .bin extension 2011-12-13 03:01:16 +00:00
analysis bloat-o-meter.py: Now compatible to python 3. 2014-01-07 10:35:59 +01:00
atj2137 Fix uninitialized variable (should fix libusb retry handling) 2015-01-04 13:35:47 +01:00
bootchart Add simple bootchart -> gnuplot shell script 2010-04-05 19:58:51 +00:00
common Rework langstat. 2013-06-09 16:54:59 +02:00
disassembler/arm Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00
e200tool Add new tool to upload code on e200/c200/view in manufacturer mode 2014-04-07 22:25:06 +02:00
editors Move sample.emacs to utils/editors 2010-02-18 23:32:08 +00:00
hwpatcher hwpatcher: add generic RKW file patching script 2014-09-02 22:35:26 +02:00
hwstub hwstub/atj213x: add clock setup to crt0.S 2014-11-28 19:39:38 +01:00
imxtools sb1: fix buggy comparison 2014-12-20 15:31:18 +01:00
ipod Add some notes describing how the bin2note exploit works 2009-07-16 17:40:55 +00:00
jz4740_tools Fix crash on uninitialized variable 2015-01-13 21:57:24 +01:00
meizu_dfu meizu_dfu: supports a single argument to run some code from RAM 2010-06-08 23:04:17 +00:00
MTP MTP: put libs after files in the Makefile, to please old gcc versions 2014-12-13 12:58:08 +01:00
nwztools imxtools/nwztools: fix compilation for windows 2013-01-10 00:51:35 +00:00
regtools regtools/headergen: Make generator more flexible 2015-01-12 11:28:52 +01:00
rk27utils Fix uninitialized variable (should fix libusb retry handling) 2015-01-04 13:35:47 +01:00
rknanoutils rknanoutils: fix boot tool 2013-03-21 19:02:03 +01:00
rockbox_api Fix menu (update to newer one) 2008-10-09 12:28:09 +00:00
samsungtools samsungtool: allow firmware creation 2012-12-06 12:17:50 +01:00
skinupdater SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated. 2010-06-09 16:15:01 +00:00
tcctool tcctool: fix Makefile 2013-09-18 13:14:20 +02:00
themeeditor Convert one more file from DOS to UNIX. 2011-11-06 22:52:21 +00:00
time-sync time-sync: allow passing an arbitrary time. 2013-06-09 19:51:08 +02:00
ypr0tools ypr1: Add some commands to rockbox.sh which are needed for playback 2014-03-09 23:25:50 +01:00
zenutils Clean up bogus 'make compiler happy' code 2015-01-12 21:13:00 +01:00
parse_testcodec.rb Update parse_testcodec to parse AAC-HE files with parametric stereo. 2011-04-12 20:24:43 +00:00