diff options
author | obrien <obrien@FreeBSD.org> | 2013-07-02 17:17:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2013-07-02 17:17:42 +0000 |
commit | 1fafe35d7577b9b0ab13b4f1f8e13660d9305936 (patch) | |
tree | f7d567919fa237a964cf611381c906139bef1aaf /sbin/swapon/swapon.c | |
parent | ef0cb7bd8f952dec5096bca3f237925a680b7e4b (diff) | |
download | FreeBSD-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