https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264021
--- Comment #11 from Mark Millard <[email protected]> --- (In reply to Mark Millard from comment #10) Hmm: void geli_export_key_metadata(struct preloaded_file *kfp) { struct keybuf *keybuf; keybuf = 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.) -- You are receiving this mail because: You are the assignee for the bug.
