Date: Sat, 21 May 2022 02:14:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264021] efi: failed to allocate staging area: 9 Message-ID: <bug-264021-227-2QqPT88U5f@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264021-227@https.bugs.freebsd.org/bugzilla/> References: <bug-264021-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264021 --- Comment #11 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #10) Hmm: void geli_export_key_metadata(struct preloaded_file *kfp) { struct keybuf *keybuf; keybuf =3D malloc(GELI_KEYBUF_SIZE); geli_export_key_buffer(keybuf); file_addmetadata(kfp, MODINFOMD_KEYBUF, GELI_KEYBUF_SIZE, keybuf); explicit_bzero(keybuf, GELI_KEYBUF_SIZE); free(keybuf); } No possibility of malloc failure and a bad-to-use keybuf value? (But I'm not literate about the libsa expectations for how things operate.) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264021-227-2QqPT88U5f>