summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2009-12-17 17:03:47 +0000
committerjh <jh@FreeBSD.org>2009-12-17 17:03:47 +0000
commit060a87e0f55f660dac1fdc467a1e5bb520f953e0 (patch)
treead817a52fcb0d3b32db89c4148efc8bcbf4de12d /games
parent4491896aee42d649ffebd4db8fe3607e1debffc9 (diff)
downloadFreeBSD-src-060a87e0f55f660dac1fdc467a1e5bb520f953e0.zip
FreeBSD-src-060a87e0f55f660dac1fdc467a1e5bb520f953e0.tar.gz
Sync getline() with comm(1):
- 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 'games')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud