* include/grub/mips/setjmp.h (grub_jmp_buf): Fix buffer size.

setjmp.S uses 12 entries but buffer is declared with only 11 entries.
This commit is contained in:
Vladimir Serbinenko 2013-11-18 01:49:14 +01:00
parent 7d400406a7
commit 44ce3a93b6
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2013-11-18 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/mips/setjmp.h (grub_jmp_buf): Fix buffer size.
setjmp.S uses 12 entries but buffer is declared with only 11 entries.
2013-11-17 Ian Campbell <ijc@hellion.org.uk> 2013-11-17 Ian Campbell <ijc@hellion.org.uk>
* grub-core/disk/uboot/ubootdisk.c: Include SCSI disks. * grub-core/disk/uboot/ubootdisk.c: Include SCSI disks.

View file

@ -19,7 +19,7 @@
#ifndef GRUB_SETJMP_CPU_HEADER #ifndef GRUB_SETJMP_CPU_HEADER
#define GRUB_SETJMP_CPU_HEADER 1 #define GRUB_SETJMP_CPU_HEADER 1
typedef unsigned long grub_jmp_buf[11]; typedef unsigned long grub_jmp_buf[12];
int grub_setjmp (grub_jmp_buf env) RETURNS_TWICE; int grub_setjmp (grub_jmp_buf env) RETURNS_TWICE;
void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn)); void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn));