git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99680
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) forward port of buffer overflow fixes for htdigest. [Thom May]
+
*) prefork MPM: Use the right permissions for the directory created
for gprof support. [Jim Carlson <jcarlson@jnous.com>]
fprintf(stderr, "Use -c option to create new one.\n");
cleanup_tempfile_and_exit(1);
}
- strcpy(user, argv[3]);
- strcpy(realm, argv[2]);
+ apr_cpystrn(user, argv[3], sizeof(user));
+ apr_cpystrn(realm, argv[2], sizeof(realm));
found = 0;
while (!(get_line(line, MAX_STRING_LEN, f))) {