mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-30 03:48:17 +00:00
Merge pull request #1145 from 0xbsec/1144-i-cpu
fix rule 'i' in host mode in case pos = length
This commit is contained in:
commit
eecac3f63b
@ -52,6 +52,7 @@
|
||||
- Fixed pointer to local outside scope in case -j or -k is used
|
||||
- Fixed pointer to local outside scope in case --markov-hcstat is not used
|
||||
- Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word
|
||||
- Fixed rule 'i' (RULE_OP_MANGLE_INSERT) in host mode in case the offset parameter equals the length of the input word
|
||||
- Fixed string not null terminated inside workaround for checking drm driver path
|
||||
- Fixed string not null terminated while reading maskfiles
|
||||
- Fixed truncation of password after position 32 with the combinator attack
|
||||
|
@ -213,7 +213,7 @@ static int mangle_omit (char arr[BLOCK_SIZE], int arr_len, int upos, int ulen)
|
||||
|
||||
static int mangle_insert (char arr[BLOCK_SIZE], int arr_len, int upos, char c)
|
||||
{
|
||||
if (upos >= arr_len) return (arr_len);
|
||||
if (upos > arr_len) return (arr_len);
|
||||
|
||||
if ((arr_len + 1) >= BLOCK_SIZE) return (arr_len);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user