Move a struct cd_toc (800 bytes) from the stack to malloc'ed memory.
Move a struct cd_toc (800 bytes) from the stack to malloc'ed memory.

bzero() all malloc'ed cd_toc structs because cd_read_toc() will only
zero as much as it is trying to read.

malloc M_TEMP memory instead of M_DEVBUF memory for the cd_toc
structs.

ok deraadt@

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