* grub-core/gdb/cstub.c (grub_gdb_inbuf): Increase the size to avoid
overflow. (grub_gdb_outbuf): Likewise.
This commit is contained in:
parent
d83ff9f955
commit
0382d9bb22
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-03-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/gdb/cstub.c (grub_gdb_inbuf): Increase the size to avoid
|
||||
overflow.
|
||||
(grub_gdb_outbuf): Likewise.
|
||||
|
||||
2012-03-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/menuentry.c (grub_normal_add_menu_entry): Add
|
||||
|
|
|
@ -28,8 +28,8 @@ int grub_gdb_regs[GRUB_MACHINE_NR_REGS];
|
|||
|
||||
#define GRUB_GDB_COMBUF_SIZE 400 /* At least sizeof(grub_gdb_regs)*2 are needed for
|
||||
register packets. */
|
||||
static char grub_gdb_inbuf[GRUB_GDB_COMBUF_SIZE];
|
||||
static char grub_gdb_outbuf[GRUB_GDB_COMBUF_SIZE];
|
||||
static char grub_gdb_inbuf[GRUB_GDB_COMBUF_SIZE + 1];
|
||||
static char grub_gdb_outbuf[GRUB_GDB_COMBUF_SIZE + 1];
|
||||
|
||||
struct grub_serial_port *grub_gdb_port;
|
||||
|
||||
|
|
Loading…
Reference in a new issue