summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/swapon.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2013-07-02 17:17:42 +0000
committerobrien <obrien@FreeBSD.org>2013-07-02 17:17:42 +0000
commit1fafe35d7577b9b0ab13b4f1f8e13660d9305936 (patch)
treef7d567919fa237a964cf611381c906139bef1aaf /sbin/swapon/swapon.c
parentef0cb7bd8f952dec5096bca3f237925a680b7e4b (diff)
downloadFreeBSD-src-1fafe35d7577b9b0ab13b4f1f8e13660d9305936.zip
FreeBSD-src-1fafe35d7577b9b0ab13b4f1f8e13660d9305936.tar.gz
Properly handle input lines containing NUL characters such that pgets()
accurately fills the read buffer. Callers of pgets() still mis-process the buffer contents if the read line contains NUL characters, but this at least makes pgets() accurate.
Diffstat (limited to 'sbin/swapon/swapon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud