From 44ce3a93b67efc2dde802d861d110fa79305f385 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 18 Nov 2013 01:49:14 +0100 Subject: [PATCH] * include/grub/mips/setjmp.h (grub_jmp_buf): Fix buffer size. setjmp.S uses 12 entries but buffer is declared with only 11 entries. --- ChangeLog | 6 ++++++ include/grub/mips/setjmp.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aa4f4cfc8..cfb9fb30b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-11-18 Vladimir Serbinenko + + * 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 * grub-core/disk/uboot/ubootdisk.c: Include SCSI disks. diff --git a/include/grub/mips/setjmp.h b/include/grub/mips/setjmp.h index 5ce45f508..a99dde9ef 100644 --- a/include/grub/mips/setjmp.h +++ b/include/grub/mips/setjmp.h @@ -19,7 +19,7 @@ #ifndef GRUB_SETJMP_CPU_HEADER #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; void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn));