diff options
-rw-r--r-- | sbin/dhclient/conflex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/conflex.c b/sbin/dhclient/conflex.c index 39409a9..c330191 100644 --- a/sbin/dhclient/conflex.c +++ b/sbin/dhclient/conflex.c @@ -104,7 +104,7 @@ get_char(FILE *cfile) lpos = 1; cur_line[0] = 0; } else if (c != EOF) { - if (lpos <= 81) { + if (lpos < sizeof(line1)) { cur_line[lpos - 1] = c; cur_line[lpos] = 0; } |