1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

qualifier name in session_enum was being assumed to exist. if NULL, the

name should not be read.  file_enum and connection_enum didn't do this:
wonder why only session_enum had this bug?
(This used to be commit 203a97e39e7ae7e5511f74dffea0778e7fa6db07)
This commit is contained in:
Luke Leighton 1998-09-24 20:19:31 +00:00
parent 0c5dcf52b0
commit d8f66be141

View File

@ -618,7 +618,7 @@ void srv_io_q_net_sess_enum(char *desc, SRV_Q_NET_SESS_ENUM *q_n, prs_struct *p
prs_align(ps);
prs_uint32("ptr_qual_name", ps, depth, &(q_n->ptr_qual_name));
smb_io_unistr2("", &(q_n->uni_qual_name), True, ps, depth);
smb_io_unistr2("", &(q_n->uni_qual_name), q_n->ptr_qual_name, ps, depth);
prs_align(ps);
@ -1093,7 +1093,7 @@ void srv_io_q_net_file_enum(char *desc, SRV_Q_NET_FILE_ENUM *q_n, prs_struct *p
prs_align(ps);
prs_uint32("ptr_qual_name", ps, depth, &(q_n->ptr_qual_name));
smb_io_unistr2("", &(q_n->uni_qual_name), True, ps, depth);
smb_io_unistr2("", &(q_n->uni_qual_name), q_n->ptr_qual_name, ps, depth);
prs_align(ps);