]> granicus.if.org Git - shadow/commit
* libmisc/salt.c: Make sure the salt string is terminated at the
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 16 Nov 2007 19:02:00 +0000 (19:02 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Fri, 16 Nov 2007 19:02:00 +0000 (19:02 +0000)
commit449f17385a992cf8a802dacea85e4c7e9e94731d
treea4168cda8dbf4abf8ffd3c86e6a8cea132eae2af
parente163c5fe9cde6430616f67768aa784068b5160b5
 * libmisc/salt.c: Make sure the salt string is terminated at the
   right place (either 8th, or 11th position).
 * NEWS, src/chgpasswd.c, src/chpasswd.c: The protocol + salt does
   not need 15 chars. No need for a temporary buffer.
   This change the fix committed on 2007-11-10. The salt provided to
   pw_encrypt could have been too long.
ChangeLog
NEWS
libmisc/salt.c
src/chgpasswd.c
src/chpasswd.c