]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
9523 Large alloc in zdb can cause trouble
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:44:07 +0000 (20:44 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:44:07 +0000 (20:44 +0000)
commitac879e61ad2fbadcf3c8e393bf4c519d0893c76e
treec0e17e1533738ae12d7edd40f27df1f45417c003
parent5463ca24bff82c4a3acc4bd64ce8006a74940ec1
parent903252254b69357897fe24ae663ff0b342de07cd
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