freebsd-nq/cmd/zpios
GeLiXin 66826e2285 Fix coverity defects: CID 147643, 152204, 49339
CID 147643: Type: String not null terminated
- make sure that the string is null terminated before strlen
  and fprintf.

CID 152204: Type: Copy into fixed size buffer
- since strlcpy isn't availabe here, use strncpy and terminate
  the string manually.

CID 49339: Type: Buffer not null terminated
- since strlcpy isn't availabe here, terminate the string
  manually before fprintf.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Closes #5283
2016-10-18 10:43:22 -07:00
..
.gitignore Add linux zpios support 2010-08-31 13:42:01 -07:00
Makefile.am Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zpios_main.c Fix coverity defects: CID 147643, 152204, 49339 2016-10-18 10:43:22 -07:00
zpios_util.c Fix coverity defects: CID 147613 147614 147616 147617 2016-09-23 09:10:50 -07:00
zpios.h Add large block support to zpios(1) benchmark 2015-09-22 09:13:20 -07:00