summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2009-12-16 14:34:48 +0000
committerjh <jh@FreeBSD.org>2009-12-16 14:34:48 +0000
commit34aba9552486c10e115fe37fe8308a959bc50b21 (patch)
tree7b3a8428a72ad767daf1d1a87cee8bdffae61374 /sys/conf
parent0b8651c0f6317190e2895f76dd80d2c05c6d0aea (diff)
downloadFreeBSD-src-34aba9552486c10e115fe37fe8308a959bc50b21.zip
FreeBSD-src-34aba9552486c10e115fe37fe8308a959bc50b21.tar.gz
- Prevent overflowing of the buffer length variable in getline() by
limiting its maximum value. - Exit if reallocf(3) fails in getline(). Failure was silently considered as end-of-file. Reviewed by: ghelmer Approved by: trasz (mentor)
Diffstat (limited to 'sys/conf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud