ronald 99/08/15 15:14:56
Modified: src/ap ap_md5c.c
Log:
Aarg: typo...
Revision Changes Path
1.32 +1 -1 apache-1.3/src/ap/ap_md5c.c
Index: ap_md5c.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/ap/ap_md5c.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ap_md5c.c 1999/08/15 21:55:09 1.31
+++ ap_md5c.c 1999/08/15 22:14:55 1.32
@@ -527,7 +527,7 @@
* Now make the output string. We know our limitations, so we
* can use the string routines without bounds checking.
*/
- ap_cpystrn(passwd, AP_MD5PW_ID, AP_MD5PW_ID + 1);
+ ap_cpystrn(passwd, AP_MD5PW_ID, AP_MD5PW_IDLEN + 1);
ap_cpystrn(passwd + AP_MD5PW_IDLEN, (char *)sp, sl + 1);
passwd[AP_MD5PW_IDLEN + sl] = '$';
passwd[AP_MD5PW_IDLEN + sl + 1] = '\0';