2.4.x patch: trunk works (module CHANGES)
+1: ylavic, wrowe, minfrin
- * mod_authnz_fcgi.c: Silence compiler warnings:
- - modules/aaa/mod_authnz_fcgi.c:705: warning:
- 'orspbuflen' may be used uninitialized in this function
- - modules/aaa/mod_authnz_fcgi.c:1235: warning:
- comparison is always false due to limited range of data type
- trunk patch: http://svn.apache.org/r1652829
- 2.4.x patch: trunk works
- +1: rjung, ylavic, jailletc36
-
* acinclude.m4: Generate #LoadModule directive in default httpd.conf for
every --enable-mpms-shared. PR 53882.
trunk patch: http://svn.apache.org/r1652930
{
const char *fn = "req_rsp";
apr_pool_t *temp_pool;
- apr_size_t orspbuflen;
+ apr_size_t orspbuflen = 0;
apr_socket_t *s;
apr_status_t rv;
apr_table_t *saved_subprocess_env =
char *host;
const char *err, *stype;
fcgi_provider_conf *conf = apr_pcalloc(cmd->pool, sizeof(*conf));
- int ca = 0, rc;
+ int ca = 0, rc, port;
fcgi_backend_regex = ap_rxplus_compile(cmd->pool, FCGI_BACKEND_REGEX_STR);
if (!fcgi_backend_regex) {
host[strlen(host) - 1] = '\0';
}
- conf->port = atoi(ap_rxplus_pmatch(cmd->pool, fcgi_backend_regex, 2));
- if (conf->port > 65535) {
+ port = atoi(ap_rxplus_pmatch(cmd->pool, fcgi_backend_regex, 2));
+ if (port > 65535) {
return apr_pstrcat(cmd->pool,
dname, ": backend-address '",
argv[ca],
conf->backend = argv[ca];
conf->host = host;
+ conf->port = port;
ca++;
rv = apr_sockaddr_info_get(&conf->backend_addrs, conf->host,