Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bios/boot: fix off by one error in SFL magic string

  • Loading branch information...
commit 889a57c9accdeb1ff3ffbba58e78086dab099a1d 1 parent f2b0568
@sbourdeauducq sbourdeauducq authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  software/bios/boot.c
View
2  software/bios/boot.c
@@ -92,7 +92,7 @@ void serialboot(void)
struct sfl_frame frame;
int failed;
unsigned int cmdline_adr, initrdstart_adr, initrdend_adr;
- static const char str[SFL_MAGIC_LEN] = SFL_MAGIC_REQ;
+ static const char str[SFL_MAGIC_LEN+1] = SFL_MAGIC_REQ;
const char *c;
printf("I: Attempting serial firmware loading\n");

0 comments on commit 889a57c

Please sign in to comment.
Something went wrong with that request. Please try again.