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 | 34211cbde959d55fb8e6b818365341d0193e7253 (patch) | |
| tree | 8f79e703daf7289a07cebb93a170b9836a60087e /pw/pwupd.h | |
| parent | 7d8cc6729f3fcf5fb4c38936179b2c0b9b026130 (diff) | |
| download | pw-darwin-34211cbde959d55fb8e6b818365341d0193e7253.tar.gz pw-darwin-34211cbde959d55fb8e6b818365341d0193e7253.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; |
