1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/netsmb
Christian S.J. Peron a67b22d67f Change some variables from int to size_t. This is more accurate since
these variables represent sizes in one capacity or another.  There is
no reason to allow negative numbers.  Change userspace shared structure
elements that get used for the modified functions from int to uint32_t,
since it's not clear what userspace programs use these fields, and we
do not want to break binary compatibility.  This fixes a panic when
corrupt or bogus data is passed into the kernel.

Obtained from:	NetBSD
MFC after:	3 weeks
2011-01-08 23:06:54 +00:00
..
netbios.h
smb_conn.c
smb_conn.h
smb_crypt.c
smb_dev.c
smb_dev.h Change some variables from int to size_t. This is more accurate since 2011-01-08 23:06:54 +00:00
smb_iod.c
smb_rq.c
smb_rq.h
smb_smb.c
smb_subr.c Change some variables from int to size_t. This is more accurate since 2011-01-08 23:06:54 +00:00
smb_subr.h Change some variables from int to size_t. This is more accurate since 2011-01-08 23:06:54 +00:00
smb_tran.h
smb_trantcp.c
smb_trantcp.h
smb_usr.c
smb.h