mirror_zfs/tests/zfs-tests
Tom Caputi dc3eea871a Fix object reclaim when using large dnodes
Currently, when the receive_object() code wants to reclaim an
object, it always assumes that the dnode is the legacy 512 bytes,
even when the incoming bonus buffer exceeds this length. This
causes a buffer overflow if --enable-debug is not provided and
triggers an ASSERT if it is. This patch resolves this issue and
adds an ASSERT to ensure this can't happen again.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7097
Closes #7433
2018-07-06 02:46:51 -07:00
..
callbacks Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
cmd Fedora 28: Fix misc bounds check compiler warnings 2018-05-07 17:19:57 -07:00
include Add pool state /proc entry, "SUSPENDED" pools 2018-07-06 02:46:51 -07:00
tests Fix object reclaim when using large dnodes 2018-07-06 02:46:51 -07:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00