Check for memory allocation failure before zeroing memory, not after; from mpech@
Check for memory allocation failure before zeroing memory, not after;
from mpech@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars