]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337179: 9523 Large alloc in zdb can cause trouble
authormav <mav@FreeBSD.org>
Wed, 3 Oct 2018 14:45:48 +0000 (14:45 +0000)
committermav <mav@FreeBSD.org>
Wed, 3 Oct 2018 14:45:48 +0000 (14:45 +0000)
commitf7ce4a7ccf08b067f17f02cc83e449d28850ca16
tree81b3e5cd7688e968b3b1bfc6edd8c32f945e71d8
parent6205ced68d571e5afdf39dfe41967d217ef93e99
MFC r337179: 9523 Large alloc in zdb can cause trouble

16MB alloc in zdb_embedded_block() can cause cores in certain situations
(clang, gcc55).

OsX commit: https://github.com/openzfsonosx/zfs/commit/ced236a5da6e72ea7bf6d2919fe14e17cffe10f1
FreeBSD commit: https://svnweb.freebsd.org/base?view=revision&revision=326150
illumos/illumos-gate@03a4c2f4bfaca30115963b76445279b36468a614

Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author:     Jorgen Lundman <lundman@lundman.net>

This is an update for r326150 (by avg), where this change comes from.
cddl/contrib/opensolaris/cmd/zdb/zdb.c