summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/pjdlog.c
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2011-02-07 18:10:18 +0000
committerjh <jh@FreeBSD.org>2011-02-07 18:10:18 +0000
commitd8708af48420e2edefa6527dd71ac07b1c5353eb (patch)
treea18d4881fa1efcaf161e542ce94b84e29f6815c4 /sbin/hastd/pjdlog.c
parentc19aa41514f081f5b93a92ac8186335bcf420acf (diff)
downloadFreeBSD-src-d8708af48420e2edefa6527dd71ac07b1c5353eb.zip
FreeBSD-src-d8708af48420e2edefa6527dd71ac07b1c5353eb.tar.gz
- Use LINE_MAX from limits.h as the maximum line length instead of
BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line longer than LINE_MAX. The previous behavior was to silently split long lines and produce corrupted output. PR: bin/151384
Diffstat (limited to 'sbin/hastd/pjdlog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud