gcode-mirror / truecrack

Automatically exported from code.google.com/p/truecrack
GNU General Public License v3.0
0 stars 1 forks source link

Using a wordlist with a line >35 characters causes instability #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure with --enable-cpu (untested if this still occurs without this 
because I don't have an Nvidia GPU)
2. Use a wordlist that contains at least one line with more than 35 characters
3. Run using this wordlist

What is the expected output? What do you see instead?
Expected no issues
See either a segfault or a "Aborted (core dumped) error

What version of the product are you using? On what operating system?
Version 3.5 with --enable-cpu option, on Ubuntu 10.04

Please provide any additional information below.
Example output, with wordlist containing 36 characters per line maximum:
$ truecrack -t tcFile -w acAlpha.txt -v
TrueCrack v3.5
Website: http://code.google.com/p/truecrack
Contact us: infotruecrack@gmail.com

Memory initialization...

COUNT   PASSWORD    RESULT
0   A       NO
1   AB      NO
2   ABC     NO
3   ABCD        NO
[...]
33  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH  NO
34  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI NO
35  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJ    NO
No found password
Total computations: "36"
*** glibc detected *** truecrack: free(): invalid next size (fast): 0x09023008 
***
[...]
Aborted (core dumped)

Example output, with wordlist containing 64 characters per line maximum:
$ truecrack -t tcFile -w acAlpha.txt -v
TrueCrack v3.5
Website: http://code.google.com/p/truecrack
Contact us: infotruecrack@gmail.com

Memory initialization...

COUNT   PASSWORD    RESULT
0   A       NO
1   AB      NO
2   ABC     NO
3   ABCD        NO
[...]
33  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH  NO
34  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI NO
35  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJ    NO
36  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJK   NO
37  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKL  NO
38  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLM NO
39  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMN
    NO
40  ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNO
    NO
Segmentation fault (core dumped)

Original issue reported on code.google.com by antlersa...@gmail.com on 9 Oct 2013 at 12:31

GoogleCodeExporter commented 9 years ago
I tested this again on a 64-bit install of Ubuntu 10.04, still using the 
--enable-cpu option. This time, it crashes at a line with at least 40 
characters.

Original comment by antlersa...@gmail.com on 12 Oct 2013 at 4:48