]> git.ipfire.org Git - thirdparty/shadow.git/commit
* src/usermod.c: Do not assign static to NULL.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 15 Aug 2011 09:56:43 +0000 (09:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 15 Aug 2011 09:56:43 +0000 (09:56 +0000)
commit7c96d6cbcc8b5e2f046b3968391bf22e0c481ab9
tree5676f9c91009d01b4c4aa4c7dffb4541bc639452
parent5eb9ed0aaf5de1b74a33459dc756f5afa874c10d
* src/usermod.c: Do not assign static to NULL.
* src/usermod.c (date_to_str): buf needs to be unique (e.g.
independent from negativ), and is an out buffer.
* src/usermod.c: Ignore return value from snprintf, and force
nul-termination of buffer.
* src/usermod.c: Improve memory management.
* src/usermod.c: An audit bloc was not reachable, moved above on
success to move the home directory.
* src/usermod.c: Ignore close() return value for the mailbox
(opened read only).
ChangeLog
src/usermod.c