Tobin Harding ced28193b0 Fix coverity defects: 147480, 147584
CID 147480: Logically dead code (DEADCODE)

Remove non-null check and subsequent function call. Add ASSERT to future
proof the code.

usage label is only jumped to before `zhp` is initialized.

CID 147584: Out-of-bounds access (OVERRUN)

Subtract length of current string from buffer length for `size` argument
to `snprintf`.

Starting address for the write is the start of the buffer + the current
string length. We need to subtract this string length else risk a buffer
overflow.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Closes #6745
2017-10-16 15:32:48 -07:00
2017-09-22 18:54:34 -07:00
2017-10-16 15:32:48 -07:00
2017-10-13 10:02:39 -07:00
2017-10-13 10:02:39 -07:00
2017-10-11 16:54:48 -04:00
2017-10-13 10:02:39 -07:00
2017-10-11 16:54:48 -04:00
2017-01-03 11:31:18 -06:00
2014-09-02 14:18:53 -07:00
2017-10-11 16:54:48 -04:00
2017-10-11 16:54:48 -04:00
2017-07-26 10:13:25 -07:00
2008-12-01 14:49:34 -08:00
2017-09-22 18:54:34 -07:00

img

ZFS on Linux is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community.

codecov

Official Resources

Installation

Full documentation for installing ZoL on your favorite Linux distribution can be found at our site.

Contribute & Develop

We have a separate document with contribution guidelines.

Description
freebsd with flexible iflib nic queues
Readme 2.6 GiB
Languages
C 60.1%
C++ 26.1%
Roff 4.9%
Shell 3%
Assembly 1.7%
Other 3.7%