1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
freebsd/sys/netsmb
Pedro F. Giffuni d821d36419 Unsign some values related to allocation.
When allocating memory through malloc(9), we always expect the amount of
memory requested to be unsigned as a negative value would either stand for
an error or an overflow.
Unsign some values, found when considering the use of mallocarray(9), to
avoid unnecessary casting. Also consider that indexes should be of
at least the same size/type as the upper limit they pretend to index.

MFC after:	3 weeks
2018-01-22 02:08:10 +00:00
..
netbios.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_conn.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_conn.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_crypt.c Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
smb_dev.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_dev.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_iod.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_rq.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_rq.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_smb.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_subr.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_subr.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_tran.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_trantcp.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_trantcp.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_usr.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00