boot - Fix insufficient malloc()s