]> cvs.zerfleddert.de Git - proxmark3-svn/log
proxmark3-svn
8 years agoCHG: Syntax suger
iceman1001 [Mon, 25 Jan 2016 19:28:34 +0000 (20:28 +0100)]
CHG: Syntax suger
Experiment:  unfolded a loop.
Experiment: speeding up "Hf mf nested"
CHG: removed some default keys from "hf mf nested". It wasn't being used anyway.
CHG: changed the way "hf mf nested" reports back keys
CHG: "hf mf nested"  and "hf mf chk"   now prints the key-table.
CHG: changed the output list for "hf mf chk"

8 years agoCHG: Syntax suger
iceman1001 [Mon, 25 Jan 2016 19:24:23 +0000 (20:24 +0100)]
CHG: Syntax suger
EXperimented:  unfolded a loop.

8 years agoFIX: earlier NULL check.
iceman1001 [Mon, 25 Jan 2016 19:23:44 +0000 (20:23 +0100)]
FIX: earlier NULL check.

8 years agoREM: removed unused code.
iceman1001 [Mon, 25 Jan 2016 19:22:59 +0000 (20:22 +0100)]
REM:  removed unused code.

8 years agoFIX: Moved a free() call.
iceman1001 [Mon, 25 Jan 2016 19:22:00 +0000 (20:22 +0100)]
FIX: Moved a free() call.

8 years agoExperimeting with finding the "WDT_HIT" bug in "Hf mf mifare", which not shows if...
iceman1001 [Mon, 25 Jan 2016 19:21:11 +0000 (20:21 +0100)]
Experimeting with finding the "WDT_HIT" bug in "Hf mf mifare",  which not shows if "hf mf dbg" is set to 3 or more...

8 years agoFIX: Possible usage of NULL.
iceman1001 [Mon, 25 Jan 2016 19:19:47 +0000 (20:19 +0100)]
FIX: Possible usage of NULL.

8 years agoCHG: Syntax suger
iceman1001 [Mon, 25 Jan 2016 19:19:15 +0000 (20:19 +0100)]
CHG: Syntax suger

8 years agoCHG: Syntax suger
iceman1001 [Mon, 25 Jan 2016 19:17:08 +0000 (20:17 +0100)]
CHG: Syntax suger

8 years agoCHG: removed a debug statement
iceman1001 [Thu, 21 Jan 2016 12:01:07 +0000 (13:01 +0100)]
CHG: removed a debug statement

8 years agoCHG: Added the urls to the new Wiki on github inside the flasher.c usuage text.
iceman1001 [Thu, 21 Jan 2016 07:02:41 +0000 (08:02 +0100)]
CHG:  Added the urls to the new Wiki on github inside the flasher.c usuage text.
CHG:  Syntax suger

8 years agoCHG: Added some more identifications to token list, courtesy from a forum user
iceman1001 [Thu, 21 Jan 2016 06:33:55 +0000 (07:33 +0100)]
CHG:  Added some more identifications to token list,  courtesy from a forum user

8 years agoADD: added the possibility to choose which block num to attack with "hf mf mifare...
iceman1001 [Wed, 20 Jan 2016 21:26:01 +0000 (22:26 +0100)]
ADD:  added the possibility to choose which block num to attack with "hf mf mifare"   Before it only worked on block 0.

8 years agoFIX: Some uninitialized variables, some syntax suger, and some extra WDT_HIT calls...
iceman1001 [Wed, 20 Jan 2016 18:53:58 +0000 (19:53 +0100)]
FIX: Some uninitialized variables, some syntax suger,  and some extra WDT_HIT calls inside "ReaderMifare" to stop it from trigger when running multiple times in a row.

8 years agoCHG: Remake the "hf mf chkkeys" It now prints the found keys like "hf mf nested...
iceman1001 [Wed, 20 Jan 2016 18:51:30 +0000 (19:51 +0100)]
CHG:  Remake the "hf mf chkkeys"  It now prints the found keys like  "hf mf nested" does. It also tries to read key B if Key A was found. It also continues to the next key to find,  when there is one match. Earlier all keys in .dic file, was tested even if it was found.

8 years agoCHG: syntax suger, text edit
iceman1001 [Wed, 20 Jan 2016 16:46:23 +0000 (17:46 +0100)]
CHG: syntax suger,  text edit

8 years agoCHG: Syntax suger
iceman1001 [Wed, 20 Jan 2016 16:45:42 +0000 (17:45 +0100)]
CHG: Syntax suger

8 years agoFIX: Coverity scans, uninitialized variables,
iceman1001 [Wed, 20 Jan 2016 16:44:51 +0000 (17:44 +0100)]
FIX: Coverity scans,  uninitialized variables,
CHG: unfolded some loops..

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman1001 [Wed, 20 Jan 2016 16:13:38 +0000 (17:13 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoFIX: Coverity Scan complains about resourceleaks, array reads outside of index, unini...
iceman1001 [Wed, 20 Jan 2016 16:13:25 +0000 (17:13 +0100)]
FIX: Coverity Scan complains about resourceleaks, array reads outside of index, uninitialized variables.

8 years agoFIX: Coverity Scan complains that the realloc might fail..
iceman1001 [Wed, 20 Jan 2016 12:03:49 +0000 (13:03 +0100)]
FIX: Coverity Scan complains that the realloc might fail..

8 years agoFIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD...
iceman1001 [Wed, 20 Jan 2016 10:31:24 +0000 (11:31 +0100)]
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick.

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Sat, 16 Jan 2016 20:54:01 +0000 (21:54 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Sat, 16 Jan 2016 20:50:55 +0000 (21:50 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Wed, 13 Jan 2016 11:33:09 +0000 (12:33 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Tue, 12 Jan 2016 20:58:03 +0000 (21:58 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Tue, 12 Jan 2016 18:26:56 +0000 (19:26 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Tue, 12 Jan 2016 16:18:11 +0000 (17:18 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Tue, 12 Jan 2016 15:45:32 +0000 (16:45 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoCHG: maybe this init works better?
iceman [Tue, 12 Jan 2016 14:57:53 +0000 (15:57 +0100)]
CHG: maybe this init works better?

8 years agoCHG, modified the configuration script
iceman [Tue, 12 Jan 2016 14:55:01 +0000 (15:55 +0100)]
CHG,  modified the configuration script

8 years agoMerge branch 'master' of https://github.com/iceman1001/proxmark3
iceman [Tue, 12 Jan 2016 09:40:18 +0000 (10:40 +0100)]
Merge branch 'master' of https://github.com/iceman1001/proxmark3

8 years agoFIX: #lld -> %#PRIu64" since the arguments are uin64_t
iceman1001 [Tue, 19 Jan 2016 21:37:17 +0000 (22:37 +0100)]
FIX: #lld -> %#PRIu64"  since the arguments are uin64_t

8 years agoFIX: Coverity scan, forgot one fread ...
iceman1001 [Tue, 19 Jan 2016 21:25:34 +0000 (22:25 +0100)]
FIX: Coverity scan,  forgot one fread ...
CHG: Syntax suger

8 years agoADD: Some instructions for configure CoverityScan using alternative compiler like...
iceman1001 [Tue, 19 Jan 2016 20:48:29 +0000 (21:48 +0100)]
ADD: Some instructions for configure CoverityScan using alternative compiler like the ARM-NONE-EABI-GCC
FIX: stupid clock() == -1 on systems who doesn't have it..

8 years agoFIX: Coverity Scan, #if - else -#endif statement most likely one row row.
iceman1001 [Tue, 19 Jan 2016 19:55:55 +0000 (20:55 +0100)]
FIX: Coverity Scan,  #if - else -#endif statement most likely one row row.

8 years agoFIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL;
iceman1001 [Tue, 19 Jan 2016 19:28:29 +0000 (20:28 +0100)]
FIX: Coverity Scans,  z_stream.opaque not initialized,  use Z_NULL;

8 years agoFIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says...
iceman1001 [Tue, 19 Jan 2016 19:26:19 +0000 (20:26 +0100)]
FIX: Coverity scan, complain on z_stream.opaque is not initialized.  Google it,says use: Z_NULL

8 years agoFIX: Coverity Scan warnings on not using the fread return value.
iceman1001 [Tue, 19 Jan 2016 18:52:01 +0000 (19:52 +0100)]
FIX: Coverity Scan warnings on not using the fread return value.

8 years agoCHG: Syntax suger, space -> tabs. etc.
iceman1001 [Tue, 19 Jan 2016 18:33:23 +0000 (19:33 +0100)]
CHG: Syntax suger,   space -> tabs. etc.
FIX: Coverity Scan says out-of-bounds,  Increased the databuffer. Legic List command needs to be re-done.

8 years agoFIX: Coverity Scan says fgetc() returns a INT,
iceman1001 [Tue, 19 Jan 2016 18:32:10 +0000 (19:32 +0100)]
FIX: Coverity Scan says fgetc() returns a INT,

8 years agoCHG: syntax suger
iceman1001 [Tue, 19 Jan 2016 18:31:34 +0000 (19:31 +0100)]
CHG:  syntax suger

8 years agoREM: removed a print. The printing is done in the calling function.
iceman1001 [Tue, 19 Jan 2016 17:06:14 +0000 (18:06 +0100)]
REM:  removed a print. The printing is done in the calling function.

8 years agoCHG: Syncronized so all different parts uses the same implementation of Crapto1 v3.3
iceman1001 [Tue, 19 Jan 2016 17:01:16 +0000 (18:01 +0100)]
CHG: Syncronized so all different parts uses the same implementation of Crapto1 v3.3

8 years agoFIX: Coverity Scan resource leak
iceman1001 [Tue, 19 Jan 2016 16:23:36 +0000 (17:23 +0100)]
FIX: Coverity Scan resource leak

8 years agoCHG: started to clean up the crapto1 imp in client/nonce2key/ folder.
iceman1001 [Tue, 19 Jan 2016 16:22:18 +0000 (17:22 +0100)]
CHG: started to clean up the crapto1 imp in client/nonce2key/ folder.

8 years agoCHG: minor change initializing array.
iceman1001 [Tue, 19 Jan 2016 15:59:06 +0000 (16:59 +0100)]
CHG: minor change initializing array.

8 years agoFIX: CoverityScan complains on getchar(), not reading the returning value
iceman1001 [Tue, 19 Jan 2016 15:58:07 +0000 (16:58 +0100)]
FIX: CoverityScan complains on getchar(),  not reading the returning value

8 years agoCHG: The nonce from "hf mf nested" is fixed to this one, why is that one selected...
iceman1001 [Tue, 19 Jan 2016 15:32:29 +0000 (16:32 +0100)]
CHG:   The nonce from "hf mf nested" is fixed to this one,  why is that one selected?  Why not just all zeros or ones?

8 years agoCHG: Syntax suger
iceman1001 [Tue, 19 Jan 2016 15:31:38 +0000 (16:31 +0100)]
CHG: Syntax suger

8 years agoFIX: Coverity scan, remove a resource leak, wrong varible type.
iceman1001 [Tue, 19 Jan 2016 15:29:49 +0000 (16:29 +0100)]
FIX: Coverity scan,  remove a resource leak,  wrong varible type.

8 years agoREM: Removed #define llx PRIx64, all these defines are located in proxmark3.h
iceman1001 [Tue, 19 Jan 2016 15:29:07 +0000 (16:29 +0100)]
REM: Removed  #define llx PRIx64,   all these defines are located in proxmark3.h

8 years agoADD: Wrote a little help text to the nonce2key tools.
iceman1001 [Tue, 19 Jan 2016 15:26:37 +0000 (16:26 +0100)]
ADD: Wrote a little help text to the nonce2key tools.

8 years agoCHG: Crapto1 v3.3 for the ARMSRC
iceman1001 [Tue, 19 Jan 2016 15:19:59 +0000 (16:19 +0100)]
CHG:  Crapto1 v3.3 for the ARMSRC

8 years agoCHG: Crapto1 v3.3 now with comments, and I've tried to unnest some loops.
iceman1001 [Tue, 19 Jan 2016 15:17:29 +0000 (16:17 +0100)]
CHG:  Crapto1 v3.3  now with comments,  and I've tried to unnest some loops.

8 years agoADD: another key found
iceman1001 [Mon, 18 Jan 2016 22:28:34 +0000 (23:28 +0100)]
ADD: another key found

8 years agoFIX: the "make clean" for mfkey/Makefile now deletes the executables.
iceman1001 [Sun, 17 Jan 2016 22:06:48 +0000 (23:06 +0100)]
FIX: the "make clean" for mfkey/Makefile now deletes the executables.

8 years agoFIX: makeing sure the "make clean" now deletes the nonce2key.exe file.
iceman1001 [Sun, 17 Jan 2016 22:00:50 +0000 (23:00 +0100)]
FIX: makeing sure the "make clean" now deletes the nonce2key.exe file.

8 years agoADD: a markdown file for the readme.txt file. I want to be able to show the build...
iceman1001 [Sat, 16 Jan 2016 22:14:14 +0000 (23:14 +0100)]
ADD:  a markdown file for the readme.txt file.  I want to be able to show the build status from TravisCI and Coverity Scans

8 years agoCHG: Reversed @piwi 's changes to parity. I'm getting assembler compiler errors.
iceman1001 [Sat, 16 Jan 2016 22:05:21 +0000 (23:05 +0100)]
CHG:  Reversed @piwi 's changes to parity.  I'm getting assembler compiler errors.

8 years agoADD: added the "llu" macro shortcut as format specifier.
iceman1001 [Sat, 16 Jan 2016 22:04:19 +0000 (23:04 +0100)]
ADD:  added the "llu" macro shortcut as format specifier.

8 years agoCHG: changed output for the "hf mf nested" to show KEY: A or B instead of 0/1
iceman1001 [Sat, 16 Jan 2016 22:02:54 +0000 (23:02 +0100)]
CHG: changed output for the "hf mf nested"  to show KEY: A or B instead of 0/1

8 years agoFIX: Coverity fix with resource leakage
iceman1001 [Sat, 16 Jan 2016 22:02:04 +0000 (23:02 +0100)]
FIX: Coverity fix with resource leakage

ADD: Implemented a addon to "hf mf nested"  if there is KEY_A 's found but not the same KEY_B,  try just read it from tag.
Makes the command a bit slower when it does these reads.   Plus some annoying debug statements,

CHG: changed the output for "hf mf nested"  to write Key A or B instead of 0 & 1..

8 years agoFIX: Coverity Scan fixes, a bunch of them.
iceman1001 [Sat, 16 Jan 2016 21:58:44 +0000 (22:58 +0100)]
FIX: Coverity Scan fixes, a bunch of them.

8 years agoCHG: Updated the crapto1 imp to latest vesion3.3 ( Thanks @blapost !)
iceman1001 [Sat, 16 Jan 2016 16:49:45 +0000 (17:49 +0100)]
CHG:  Updated the crapto1 imp to latest vesion3.3 ( Thanks @blapost !)

8 years agoFIX: forgot a lua object for the call to ConvertAsciiToHex. Thanks @romaric for...
iceman1001 [Fri, 15 Jan 2016 20:47:32 +0000 (21:47 +0100)]
FIX: forgot a lua object for the call to ConvertAsciiToHex.   Thanks @romaric for finding it.

8 years agoCHG: lets see if I can get the perl script to work if I request "git fetch --all...
iceman1001 [Fri, 15 Jan 2016 15:32:38 +0000 (16:32 +0100)]
CHG:  lets see if I can get the perl script to work if I request "git fetch --all" before running the make command in Travis-CI

8 years agoFIX: one of these days I will start being more observant about argument order
iceman1001 [Fri, 15 Jan 2016 14:22:25 +0000 (15:22 +0100)]
FIX: one of these days I will start being more observant about argument order

8 years agoFIX: wrong format specifier syntax
iceman1001 [Fri, 15 Jan 2016 11:53:13 +0000 (12:53 +0100)]
FIX: wrong format specifier syntax

8 years agoADD: some clocking for 'hf mf mifare', 'hf mf nested', 'hf mf chk'
iceman1001 [Fri, 15 Jan 2016 11:45:15 +0000 (12:45 +0100)]
ADD: some clocking for   'hf mf mifare',  'hf mf nested',  'hf mf chk'

8 years agoREM: removed a dublett at end of file.
iceman1001 [Fri, 15 Jan 2016 11:43:56 +0000 (12:43 +0100)]
REM: removed a dublett at end of file.

8 years agoFIX: this should remove some warnings while compiling on linux and when running Travi...
iceman1001 [Fri, 15 Jan 2016 11:43:29 +0000 (12:43 +0100)]
FIX: this should remove some warnings while compiling on linux and when running Travis-CI in a docker container.
some format specifier for uint64_t
and getting the git history in the perl script.

8 years agoCHG: Tried to unfold some loops inside ARM/crypto1 imp. It can't hurt, feels stabil.
iceman1001 [Wed, 13 Jan 2016 21:24:12 +0000 (22:24 +0100)]
CHG: Tried to unfold some loops inside ARM/crypto1 imp. It can't hurt,  feels stabil.

8 years agoFIX: Some <= fix for pwpivi 's hardnested suggested on the Pm3 forum.
iceman1001 [Wed, 13 Jan 2016 20:51:47 +0000 (21:51 +0100)]
FIX:  Some <= fix for pwpivi 's hardnested suggested on the Pm3 forum.

8 years agoCHG: Tested to unfold some loops inside the crypto1 implementation to see if it gener...
iceman1001 [Wed, 13 Jan 2016 20:51:06 +0000 (21:51 +0100)]
CHG: Tested to unfold some loops inside the crypto1 implementation to see if it generates some speed ups.  Feels ok.

8 years agoFIX: Coverity, out-of-bounds read, 124 is less than (0x10*8)+2 (130)
iceman1001 [Wed, 13 Jan 2016 13:53:32 +0000 (14:53 +0100)]
FIX: Coverity, out-of-bounds read,   124 is less than (0x10*8)+2 (130)
FIX: Coverity, dead-code, bitcomparison always false.   Copy-paste error?  but  0x0F can never be equal 0x10..  I guessing its 0x01. @pwpivi have to correct me if its wrong.

8 years agoFIX: Coverity, out-of-bounds read ...
iceman1001 [Wed, 13 Jan 2016 13:51:02 +0000 (14:51 +0100)]
FIX: Coverity,  out-of-bounds read ...

8 years agoFIX: Coverity, resource leak, and variable can't be negative,
iceman1001 [Wed, 13 Jan 2016 12:22:25 +0000 (13:22 +0100)]
FIX: Coverity,  resource leak, and variable can't be negative,

8 years agoFIX: GCC 4.8 complains the pointer is set before its used in a call to free(). Doesn...
iceman1001 [Wed, 13 Jan 2016 12:15:34 +0000 (13:15 +0100)]
FIX: GCC 4.8 complains the pointer is set before its used in a call to free().  Doesn't complain on Mingw,  only Ubuntu.15.10

8 years agoFIX: Coverity, strlen(Cmd) can never be lesser than zero.. *douh*
iceman1001 [Wed, 13 Jan 2016 11:58:10 +0000 (12:58 +0100)]
FIX: Coverity,  strlen(Cmd) can never be lesser than zero.. *douh*

8 years agoFIX: Coverity, resource leaks 'nd more.. in "lf t55xx bruteforce" nasty piece of...
iceman1001 [Wed, 13 Jan 2016 11:50:18 +0000 (12:50 +0100)]
FIX: Coverity, resource leaks 'nd more.. in "lf t55xx bruteforce"  nasty piece of code...

8 years agoFIX: forgot to change a modified call from @pwpivi 's last update.
iceman1001 [Wed, 13 Jan 2016 11:49:21 +0000 (12:49 +0100)]
FIX:  forgot to change a modified call from @pwpivi 's last update.

8 years agoADD: @pwpiwi 's latest changes to 'hf mf hardnested'
iceman1001 [Wed, 13 Jan 2016 08:31:13 +0000 (09:31 +0100)]
ADD: @pwpiwi 's latest changes to 'hf mf hardnested'

8 years agoREM: Removed lot of obselete code from before.
iceman1001 [Tue, 12 Jan 2016 23:24:37 +0000 (00:24 +0100)]
REM:  Removed lot of obselete code from before.

8 years agoADD: "lf hid bruteforce" for a simple bruteforce attact against a HID reader. ...
iceman1001 [Tue, 12 Jan 2016 23:16:11 +0000 (00:16 +0100)]
ADD:  "lf hid bruteforce"  for a simple bruteforce attact against a HID reader.  *work in progress*

8 years agoFIX: tcgetattr for Linux in Ukbhit(), should return -1 if fail.
iceman1001 [Tue, 12 Jan 2016 23:14:08 +0000 (00:14 +0100)]
FIX: tcgetattr for Linux in Ukbhit(), should return -1 if fail.

8 years agoFIX: Coverity, Unchecked return value, CID #121288, lets do the same check that...
iceman1001 [Tue, 12 Jan 2016 23:08:23 +0000 (00:08 +0100)]
FIX: Coverity, Unchecked return value,  CID #121288,   lets do the same check that is everywhere is this call is used.

8 years agoFIX: Coverity, CID# 121351, #121371, #121372, old code that is not used any more...
iceman1001 [Tue, 12 Jan 2016 23:07:14 +0000 (00:07 +0100)]
FIX: Coverity, CID# 121351, #121371, #121372,     old code that is not used any more,  I should remove this.

8 years agoFIX: textual changes
iceman1001 [Tue, 12 Jan 2016 23:05:55 +0000 (00:05 +0100)]
FIX:  textual changes

8 years agoFIX: Coverity, resource leak, CID #121357, Mat needs to be free
iceman1001 [Tue, 12 Jan 2016 22:56:15 +0000 (23:56 +0100)]
FIX: Coverity, resource leak, CID #121357,  Mat needs to be free

8 years agoFIX: Coverity, logical vs bitwise operator, remove the extra '&' for it to become...
iceman1001 [Tue, 12 Jan 2016 22:42:42 +0000 (23:42 +0100)]
FIX: Coverity, logical vs bitwise operator,  remove the extra '&' for it to become bitwise.

8 years agoFIX: Coverity, Unintended sign extension, data[7] would have become int, then uint64_...
iceman1001 [Tue, 12 Jan 2016 22:40:57 +0000 (23:40 +0100)]
FIX: Coverity, Unintended sign extension, data[7] would have become int, then uint64_t.  Should work better now with adding typecasting.

8 years agoFIX: Coverity, Resource leak, CID #121361, filehandle f needs to be free
iceman1001 [Tue, 12 Jan 2016 22:38:47 +0000 (23:38 +0100)]
FIX: Coverity, Resource leak, CID #121361,  filehandle f needs to be free

8 years agoFIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free
iceman1001 [Tue, 12 Jan 2016 22:37:33 +0000 (23:37 +0100)]
FIX: Coverity, Resource leak,  CID# 121360,   keyBlock needs to be free

8 years agoFIX: Coverity, out-of-bounds write, CID#121340, CID#121341, CID#121342, CID#121343...
iceman1001 [Tue, 12 Jan 2016 22:35:06 +0000 (23:35 +0100)]
FIX: Coverity, out-of-bounds write, CID#121340, CID#121341, CID#121342, CID#121343,   wrong size in check, sprintf always adds a null terminator,  so if filepath would have been 996 chars long, this might had happend... but no more.

8 years agoCHG: Syntax suger
iceman1001 [Tue, 12 Jan 2016 22:29:05 +0000 (23:29 +0100)]
CHG: Syntax suger

8 years agoFIX: Coverity, CID#121314, Explicit null dereferenced, in really odd occasions...
iceman1001 [Tue, 12 Jan 2016 22:27:42 +0000 (23:27 +0100)]
FIX: Coverity, CID#121314,  Explicit null dereferenced,  in really odd occasions buf would be NULL, and sending NULL to memcpy dereferences it.  Not sure about this fix.

8 years agoFIX: Coverity, CID# 121337, Out-of-bounds. In the loop, variable i, can be as much...
iceman1001 [Tue, 12 Jan 2016 22:16:20 +0000 (23:16 +0100)]
FIX: Coverity, CID# 121337,  Out-of-bounds.  In the loop, variable i, can be as much as 1051, overflowing the databuf with size 1024.

8 years agoFIX: Coverity, uninitialized scalar variable, filename array could be NULL..
iceman1001 [Tue, 12 Jan 2016 22:10:38 +0000 (23:10 +0100)]
FIX: Coverity,  uninitialized scalar variable,  filename array could be NULL..

8 years agoFIX: Coverity, CID #121346, resouce leak, close filehandle.
iceman1001 [Tue, 12 Jan 2016 22:06:53 +0000 (23:06 +0100)]
FIX: Coverity,  CID #121346,  resouce leak,   close filehandle.

Impressum, Datenschutz