mirror of
https://github.com/samba-team/samba.git
synced 2025-11-20 08:23:50 +03:00
After talking with Jeremy and JF (and staring at packet traces between
NT <-> NT), I've come to realize that UNISTR2 strings should be NULL terminated. jerry
This commit is contained in:
@@ -171,7 +171,9 @@ typedef struct unistr2_info
|
||||
uint32 uni_max_len;
|
||||
uint32 undoc;
|
||||
uint32 uni_str_len;
|
||||
/* unicode characters. ***MUST*** be little-endian. **NOT** necessarily null-terminated */
|
||||
/* unicode characters. ***MUST*** be little-endian.
|
||||
**must** be null-terminated and the uni_str_len should include
|
||||
the NULL character */
|
||||
uint16 *buffer;
|
||||
|
||||
} UNISTR2;
|
||||
|
||||
Reference in New Issue
Block a user