]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: zfs.c is missing malloc checks, fix it
authorToomas Soome <tsoome@FreeBSD.org>
Sun, 3 Nov 2019 14:36:16 +0000 (14:36 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 01:15:58 +0000 (20:15 -0500)
commit2f6799782529d18e13eb9bb102b942338a2829c8
treec0d5bb0aa97a9696e58cbd1bfee7a37417c2ad29
parent16608adccae5bac11367c71a964d374631ef6a5f
loader: zfs.c is missing malloc checks, fix it

malloc() can return NULL, we need to check the return value.

(cherry picked from commit 21da9f14f6144429874a286bfe21a16cbb0dbabd)
stand/libsa/zfs/zfs.c