Changes with Apache 2.0.48
+ *) ab: Overlong credentials given via command line no longer clobber
+ the buffer. [André Malo]
+
*) mod_deflate: Don't attempt to hold all of the response until we're
done. [Justin Erenkrantz]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/07/30 20:33:55 $]
+Last modified at [$Date: 2003/07/31 20:23:20 $]
Release:
nd replies: of course ..., 1.168 does.
+1: nd, jerenkrantz, trawick
- * ab: reject overlong credentials from command line (2.0 + 1.3)
- support/ab.c: r1.127
- +1: nd, jerenkrantz, trawick
-
* ab: Handle conditions where connect() on non-blocking socket
doesn't complete immediately (i.e., restore functionality when
benchmarking non-local targets). This doesn't resolve some
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.2 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.3 $> apache-2.0");
printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n");
printf("\n");
}
else {
printf("<p>\n");
- printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.2 $");
+ printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.3 $");
printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
printf("</p>\n<p>\n");
*/
while (apr_isspace(*optarg))
optarg++;
+ if (apr_base64_encode_len(strlen(optarg)) > sizeof(tmp)) {
+ err("Authentication credentials too long\n");
+ }
l = apr_base64_encode(tmp, optarg, strlen(optarg));
tmp[l] = '\0';
*/
while (apr_isspace(*optarg))
optarg++;
+ if (apr_base64_encode_len(strlen(optarg)) > sizeof(tmp)) {
+ err("Proxy credentials too long\n");
+ }
l = apr_base64_encode(tmp, optarg, strlen(optarg));
tmp[l] = '\0';