mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()
This commit is contained in:
@ -209,7 +209,7 @@ BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[
|
||||
generate_random_buffer((unsigned char *)data, 516, False);
|
||||
if (unicode)
|
||||
{
|
||||
struni2( (uint16*)(&data[512 - new_pw_len]), passwd);
|
||||
struni2( &data[512 - new_pw_len], passwd);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user