freebsd-dev/lib/libshare
GeLiXin 470f12d631 Fix coverity defects: CID 147531 147532 147533 147535
coverity scan CID:147531,type: Argument cannot be negative
- may copy data with negative size
coverity scan CID:147532,type: resource leaks
- may close a fd which is negative
coverity scan CID:147533,type: resource leaks
- may call pwrite64 with a negative size
coverity scan CID:147535,type: resource leaks
- may call fdopen with a negative fd

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Closes #5176
2016-09-30 15:47:57 -07:00
..
libshare_impl.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libshare.c Remove unconditional sharetab update 2014-01-07 09:48:09 -08:00
Makefile.am Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
nfs.c Fix coverity defects: CID 147531 147532 147533 147535 2016-09-30 15:47:57 -07:00
nfs.h Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
smb.c Fix coverity defects: CID 147707 2016-09-30 10:49:16 -07:00
smb.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00