Reserve space for the trailing null byte in the srvname member of
struct smb_vc_info. PR: 46902
This commit is contained in:
parent
b28e089684
commit
93e3ed5ab1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118078
@ -146,7 +146,7 @@ struct smb_vc_info {
|
||||
int flags;
|
||||
enum smbiod_state iodstate;
|
||||
struct smb_sopt sopt;
|
||||
char srvname[SMB_MAXSRVNAMELEN];
|
||||
char srvname[SMB_MAXSRVNAMELEN + 1];
|
||||
char vcname[128];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user