Skip to content

Commit

Permalink
prevent string buffer overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfitzpatrick authored and olebole committed Jan 28, 2024
1 parent 4b5de74 commit 9b67cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/boot/spp/xpp/xppcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ void
do_hollerith (void)
{
register char *op;
char strbuf[SZ_LINE], outbuf[SZ_LINE];
char strbuf[SZ_LINE], outbuf[SZ_LINE+2];
int len;

/* Read the string into strbuf. */
Expand Down

0 comments on commit 9b67cd7

Please sign in to comment.