Description: fix salt buffer length
Forwarded: a-del@iname.com on 2005-11-02
Author: Paul Martin <pm@debian.org>
Last-Update: 2006-05-08
Bug-Debian: http://bugs.debian.org/337116
--- a/apg.c
+++ b/apg.c
@@ -662,7 +662,7 @@ print_help (void)
 */
 char * crypt_passstring (const char *p)
 {
- char salt[10];
+ char salt[11];
  gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
  return (crypt(p, salt));
 }
