[GH-ISSUE #830] MSSQL05 segfault with --encoding=utf8, --skip-self-tests and non-ascii, non-utf8 word list #440

Closed
opened 2026-10-14 03:07:36 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @frank-dittrich on GitHub (Oct 27, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/830

Originally assigned to: @magnumripper on GitHub.

(master)test $ head -n 1 pw.dic |cut -b 1- > segfault.dic
(master)test $ ../run/john --skip-self-tests MSSql05_tst.in --wordlist=segfault.dic --encoding=utf8
Loaded 1500 password hashes with 1499 different salts (mssql05, MS SQL 2005 [SHA1 128/128 AVX 8x])
Warning: no OpenMP support for this hash type, consider --fork=8
Press 'q' or Ctrl-C to abort, almost any other key for status
Segmentation fault (core dumped)
Originally created by @frank-dittrich on GitHub (Oct 27, 2014). Original GitHub issue: https://github.com/openwall/john/issues/830 Originally assigned to: @magnumripper on GitHub. ``` (master)test $ head -n 1 pw.dic |cut -b 1- > segfault.dic (master)test $ ../run/john --skip-self-tests MSSql05_tst.in --wordlist=segfault.dic --encoding=utf8 Loaded 1500 password hashes with 1499 different salts (mssql05, MS SQL 2005 [SHA1 128/128 AVX 8x]) Warning: no OpenMP support for this hash type, consider --fork=8 Press 'q' or Ctrl-C to abort, almost any other key for status Segmentation fault (core dumped) ```
bsakaguchi 2026-10-14 03:07:36 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@frank-dittrich commented on GitHub (Oct 28, 2014):

Did you find out why the bug didn't occur without --skip-self-test?

<!-- gh-comment-id:60720937 --> @frank-dittrich commented on GitHub (Oct 28, 2014): Did you find out why the bug didn't occur without --skip-self-test?
Author
Owner

@magnumripper commented on GitHub (Oct 28, 2014):

The self-tests might do some tinyalloc's that later hid the bug because they got thrashed by this bug and noone cared. Now I believe the DB got partially thrashed (nulled) and then when dereferenced, bang.

<!-- gh-comment-id:60744078 --> @magnumripper commented on GitHub (Oct 28, 2014): The self-tests might do some tinyalloc's that later hid the bug because _they_ got thrashed by this bug and noone cared. Now I believe the DB got partially thrashed (nulled) and then when dereferenced, bang.
bsakaguchi changed title from [GH-ISSUE #830] MSSQL05 segfault with --encoding=utf8, --skip-self-tests and non-ascii, non-utf8 word list to [GH-ISSUE #830] MSSQL05 segfault with --encoding=utf8, --skip-self-tests and non-ascii, non-utf8 word list 2026-10-14 04:20:05 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#440
No description provided.