diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 19:33:25 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 19:33:25 +0000 |
commit | fd1b4fc5f4c3f3eb1ee87ab1f07b7640efd15792 (patch) | |
tree | 021a93deb9a9c3dc06d5d56be3addb65fa7c988c /pw/pwupd.h | |
parent | ecddcdd12d894cb5522d8c22536d53f1c8cce857 (diff) | |
download | pw-darwin-fd1b4fc5f4c3f3eb1ee87ab1f07b7640efd15792.tar.gz pw-darwin-fd1b4fc5f4c3f3eb1ee87ab1f07b7640efd15792.tar.zst pw-darwin-fd1b4fc5f4c3f3eb1ee87ab1f07b7640efd15792.zip |
In case of rename validate the length of the new name
Check early that the new name fits MAXLOGNAME and store it in pwconf
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r-- | pw/pwupd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -83,6 +83,7 @@ struct userconf { struct pwconf { char rootdir[MAXPATHLEN]; char etcpath[MAXPATHLEN]; + char *newname; bool dryrun; bool pretty; bool v7; |