mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/gdb/cstub.c (grub_gdb_inbuf): Increase the size to avoid
overflow. (grub_gdb_outbuf): Likewise.
This commit is contained in:
1 parent
d83ff9f955
commit
0382d9bb22
2 files changed
+8
-2
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user