mirror_zfs/tests/zfs-tests/tests/functional/rsend
Tom Caputi e14a32b1c8 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-04-17 11:13:57 -07:00
..
cleanup.ksh OpenZFS 7535 - need test for resumed send of top most filesystem 2017-04-12 08:47:42 -07:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
rsend_001_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_003_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_004_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_005_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_006_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_007_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_008_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_009_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_010_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_011_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_012_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
rsend_013_pos.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
rsend_014_pos.ksh Update rsend_014_pos and send-c_volume test cases 2017-05-04 14:32:43 -07:00
rsend_019_pos.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
rsend_020_pos.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
rsend_021_pos.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
rsend_022_pos.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
rsend_024_pos.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
rsend.cfg OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
rsend.kshlib Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
send_encrypted_files.ksh Raw receives must compress metadnode blocks 2018-02-21 12:28:52 -08:00
send_encrypted_heirarchy.ksh Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
send_freeobjects.ksh receive_freeobjects() skips freeing some objects 2017-10-02 15:36:04 -07:00
send_realloc_dnode_size.ksh Fix object reclaim when using large dnodes 2018-04-17 11:13:57 -07:00
send-c_embedded_blocks.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_incremental.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_lz4_disabled.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_mixed_compression.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_props.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_recv_dedup.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_recv_lz4_disabled.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_resume.ksh Fix intra-pool resumable 'zfs send -t <token>' 2017-10-10 15:22:05 -07:00
send-c_stream_size_estimate.ksh ZTS: fix send-c_stream_size_estimate 2018-03-07 09:55:54 -08:00
send-c_verify_contents.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-c_verify_ratio.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_volume.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
send-c_zstreamdump.ksh OpenZFS 7252 - compressed zfs send / receive 2017-04-26 12:31:43 -07:00
send-cD.ksh OpenZFS 9004 - Some ZFS tests used files removed with 32 bit kernel 2018-02-09 10:28:44 -08:00
send-cpL_varied_recsize.ksh Retry zfs destroy when busy in rsend tests 2017-08-03 08:57:43 -07:00
setup.ksh OpenZFS 7535 - need test for resumed send of top most filesystem 2017-04-12 08:47:42 -07:00