You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is similar to #1149 which is fixed in 0083c5a.
In compiler.c::c_execute_fast There are not only (sp - 2) but also (sp - 3) and (sp - 4), so maybe the sp should point to c_stack[4].
/* * We cache the top of stack value in imm. We initially set sp to &c_stack[2] * so that there's room for op_push_* to spill imm to stack even when there * wasn't actually a previous top of stack value to cache (since we're at the * top level). It is simpler and quicker to let them do it than to treat this * as a special case in the code. */unionc_insn*sp=&c_stack[4];
#1. Analysis
This bug is similar to #1149 which is fixed in 0083c5a.
In
compiler.c::c_execute_fast
There are not only(sp - 2)
but also(sp - 3)
and(sp - 4)
, so maybe the sp should point to c_stack[4].#2. Reproduce
$ ./configure --enable-asan && make -sj8
$ cat test_pw
$ cat local.conf
$ ../john test_pw --format=md5crypt --external=lanman --config=local.conf
The text was updated successfully, but these errors were encountered: