1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-27 10:28:17 +00:00
Commit Graph

3693 Commits

Author SHA1 Message Date
philsmd
f87c65d081
minor: check return value of hc_stat () and use fclose () in case of error 2017-02-14 19:12:24 +01:00
Jens Steube
670ac4aa6e Merge pull request #1087 from philsmd/master
minor: check for return value of sscanf () within the zip2 parse function
2017-02-14 19:08:33 +01:00
philsmd
7818712090
minor: check for return value of sscanf () within the zip2 parse function 2017-02-14 18:58:25 +01:00
Jens Steube
255bb8db74 Merge pull request #1086 from philsmd/master
dead code: in office parse functions
2017-02-14 18:55:30 +01:00
philsmd
9efc429928
dead code: in office parse functions 2017-02-14 18:49:35 +01:00
Jens Steube
c7c0101f64 Merge pull request #1085 from philsmd/master
dead code: both hashes_avail and hash_len can't be 0 here
2017-02-14 18:38:59 +01:00
philsmd
94a37157c1
dead code: both hashes_avail and hash_len can't be 0 here 2017-02-14 18:33:53 +01:00
Jens Steube
db46f95e14 Merge pull request #1084 from philsmd/master
dead code: already implied length within the android fde parsing function
2017-02-14 18:27:43 +01:00
Jens Steube
1bbbbdad5f Merge pull request #1083 from philsmd/master
dead code: already implied length within the android fde parsing function
2017-02-14 18:25:28 +01:00
philsmd
4eadbf221e
dead code: already implied length within the android fde parsing function 2017-02-14 18:25:20 +01:00
philsmd
8fa361dffa
dead code: already implied length within the android fde parsing function 2017-02-14 18:22:46 +01:00
jsteube
d069c980d0 Testfix for CID 1402439 (#1 of 1): Out-of-bounds read 2017-02-14 18:07:33 +01:00
jsteube
958ca90132 Test failed to workaround coverity false-positive 2017-02-14 17:59:23 +01:00
Jens Steube
b682091155 Merge pull request #1082 from philsmd/master
we always need to check for NULL after strchr ()
2017-02-14 17:55:37 +01:00
jsteube
231592101e Test commit to workaround coverity false-positive 2017-02-14 17:54:36 +01:00
philsmd
d366a93bb3
we always need to check for NULL after strchr () 2017-02-14 17:54:18 +01:00
Jens Steube
37c1cbbf5b Merge pull request #1081 from philsmd/master
-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash
2017-02-14 17:50:02 +01:00
philsmd
49ba6cb05d
-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash 2017-02-14 17:45:05 +01:00
Jens Steube
57af020b32 Merge pull request #1080 from philsmd/master
keyfiles: for VeraCrypt/TrueCrypt keyfiles we need to free the memory
2017-02-14 17:35:45 +01:00
philsmd
6915bfad8b
keyfiles: for VeraCrypt/TrueCrypt keyfiles we need to free the memory in case of errors 2017-02-14 17:32:39 +01:00
Jens Steube
f4cf4b8e65 Merge pull request #1079 from philsmd/master
fix: added additional fclose () whenever an hash parsing error occurs
2017-02-14 17:26:07 +01:00
philsmd
23368c7304
fix: added additional fclose () whenever an hash parsing error occurs 2017-02-14 17:22:52 +01:00
jsteube
906bcf52f9 CID 1402488 (#1 of 1): Resource leak 2017-02-14 17:18:57 +01:00
jsteube
7f3d107129 Fixed pointer to local outside scope in case -j or -k is used 2017-02-14 17:13:36 +01:00
Jens Steube
a3efaa219c Merge pull request #1078 from philsmd/master
if fstat () fails we shouldn't forget to close the file
2017-02-14 17:08:25 +01:00
jsteube
6eb4747dce Merge branch 'master' of https://github.com/hashcat/hashcat 2017-02-14 17:08:10 +01:00
jsteube
cc223123e9 OpenCL Kernel: Refactored read_kernel_binary to load only a single kernel for a single device 2017-02-14 17:08:08 +01:00
philsmd
d20079bfe1
if fstat () fails we shouldn't forget to close the file 2017-02-14 17:05:35 +01:00
Jens Steube
bcb05697c0 Merge pull request #1077 from philsmd/master
if fstat () fails we shouldn't forget to close the file
2017-02-14 17:04:40 +01:00
philsmd
aed01460f2
if fstat () fails we shouldn't forget to close the file 2017-02-14 17:02:52 +01:00
jsteube
5a2e7f2a3a CID 1402490 (#1 of 1): Resource leak 2017-02-14 17:02:08 +01:00
jsteube
dcdafdbc08 CID 1402467 (#1 of 1): Resource leak 2017-02-14 17:01:13 +01:00
jsteube
b2c9172f65 Fix missing free() in pidfile.c 2017-02-14 16:58:18 +01:00
jsteube
20ab1af2b3 OpenCL Kernel: Move kernel binary buffer from heap to stack memory 2017-02-14 16:56:41 +01:00
Jens Steube
38d69ba4f3 Merge pull request #1076 from philsmd/master
file locking: for windows we need to just return 0
2017-02-14 16:54:08 +01:00
philsmd
f2b370e470
file locking: for windows we need to just return 0 (otherwise compiler complains) 2017-02-14 16:53:01 +01:00
Jens Steube
7209b0562a Merge pull request #1075 from philsmd/master
mp: memory checks added to avoid leaks
2017-02-14 16:51:29 +01:00
jsteube
302f528796 OpenCL Kernel: Move kernel binary buffer from heap to stack memory 2017-02-14 16:51:03 +01:00
philsmd
437289c41e
mp: memory checks added to avoid leaks 2017-02-14 16:46:41 +01:00
Jens Steube
259f8f6bb2 Merge pull request #1074 from philsmd/master
outfile check: also out_info variable needs to be freed
2017-02-14 16:41:58 +01:00
jsteube
2824192cc5 Fix several memory leaks in pidfile handling in case a hashcat instance is already running 2017-02-14 16:40:08 +01:00
philsmd
c16145dffd
outfile check: also out_info variable needs to be freed 2017-02-14 16:27:39 +01:00
jsteube
c859cff25c File Reads: Fixed memory leak in case outfile or hashfile was not accessible 2017-02-14 16:25:38 +01:00
jsteube
cb58c84754 Merge branch 'master' of https://github.com/hashcat/hashcat 2017-02-14 16:12:26 +01:00
jsteube
671f9a7eb7 Fix hc_path_create(), first close the file descriptor before unlinking the file itself 2017-02-14 16:12:18 +01:00
Jens Steube
28f92cfada Merge pull request #1073 from philsmd/master
rule engine: 2 more possibly memory leaks (see previous commits)
2017-02-14 16:11:07 +01:00
philsmd
1b41e6aba3
rule engine: 2 more possibly memory leaks (see previous commits) 2017-02-14 16:07:33 +01:00
Jens Steube
ddace83b41 Merge pull request #1072 from philsmd/master
-m 11400 = SIP digest authentication (MD5): added bound checks in parser
2017-02-14 16:01:51 +01:00
jsteube
ee96546cd7 Fix changes.txt 2017-02-14 16:01:04 +01:00
jsteube
9b1ce502b8 Hardware Monitor: Fixed several memory leaks in case hash-file writing (in case of --remove) failed 2017-02-14 16:00:10 +01:00