]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commit
nsscash: report error for passwd/group without trailing newline
authorSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:45:49 +0000 (08:45 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:45:49 +0000 (08:45 +0200)
commitbfa96c6bded3a8a4edab666f12429b0659e30ad2
treecc561a31df0c76ad0aeae1edb960ff9c019c2cdd
parent06dfc130f0f152ef11c3113f7237e822b3e45b5b
nsscash: report error for passwd/group without trailing newline

Previously this case was hidden because ReadString() can return a string
and an EOF error. To prevent this issue from going unnoticed error out.
group.go
group_test.go
passwd.go