CVSROOT: /cvs Module name: src Changes by: ste...@cvs.openbsd.org 2016/01/08 01:00:12
Modified files: sys/arch/amd64/amd64: nvram.c sys/arch/i386/i386: nvram.c Log message: Use off_t to store the offset we want to access the NVRAM at and check that is valid. Ensures that NVRAM is accessed at sensible offsets. Convert i386/nvram.c to uiomove() while there. Diff from Martin Natano, thanks! ok kettenis@, deraadt@