CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2012/12/30 23:44:11
Modified files: sys/arch/i386/i386: trap.c Log message: Eliminate orig_errno, which could be uninitialized in one case, by doing the emulation errno mapping directly into the register in the trapframe. Range check the value in that case to guarantee there isn't an out-of-bounds array access. Uninitialized variable issue pointed out by David Hill. Range check suggested by matthew@ ok miod@