j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2007-05-06 19:29:58 +0200 (Sun, 06 May 2007) New Revision: 143
Modified: openbios-devel/arch/sparc32/entry.S openbios-devel/arch/sparc64/entry.S Log: Fix out of bounds accesses
Modified: openbios-devel/arch/sparc32/entry.S =================================================================== --- openbios-devel/arch/sparc32/entry.S 2007-05-05 18:35:34 UTC (rev 142) +++ openbios-devel/arch/sparc32/entry.S 2007-05-06 17:29:58 UTC (rev 143) @@ -267,7 +267,7 @@
/* Zero out our BSS section. */ set _bss - 4, %o0 ! First address of BSS - set _estack, %o1 ! Last address of BSS + set _estack - 4, %o1 ! Last address of BSS ba 2f nop 1:
Modified: openbios-devel/arch/sparc64/entry.S =================================================================== --- openbios-devel/arch/sparc64/entry.S 2007-05-05 18:35:34 UTC (rev 142) +++ openbios-devel/arch/sparc64/entry.S 2007-05-06 17:29:58 UTC (rev 143) @@ -211,7 +211,7 @@
/* Zero out our BSS section. */ setx _bss - 8, %o7, %o0 ! First address of BSS - setx _end, %o7, %o1 ! Last address of BSS + setx _end - 8, %o7, %o1 ! Last address of BSS ba 2f nop 1: