]> granicus.if.org Git - shadow/commit
* libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 Nov 2007 22:34:48 +0000 (22:34 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 Nov 2007 22:34:48 +0000 (22:34 +0000)
commitc214b26ee6e32ee9769019fd3fa27457e26f85eb
treef5e0aa89faea8f7b08d1a7b1d768003c768b067b
parent65f536165de837ae2c3233af2ecb90cb024820c7
* libmisc/salt.c (MAGNUM): Terminate the array with nul (the array
  is then used with strcat).
* libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at
  the beginning (was not initialized when USE_PAM).
* libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a
  valid crypt method.
ChangeLog
libmisc/salt.c