sapG: fixed memory access problems found by ASAN
XSHA: mute memory access issue found in ASAN (deref of password by uint32*)