occurlfunctions.c#155 | if(state->proxy.host != NULL) { |
#156 | CHECK(state, CURLOPT_PROXY, state->proxy.host); |
#157 | CHECK(state, CURLOPT_PROXYPORT, (OPTARG)(long)state->proxy.port); |
#158 | if(state->proxy.userpwd) { |
#159 | CHECK(state, CURLOPT_PROXYUSERPWD, state->proxy.userpwd); |
#401 | if(state->proxy.host != NULL) free(state->proxy.host); |
#402 | if(state->proxy.userpwd != NULL) free(state->proxy.userpwd); |
#403 | state->proxy.host = NULL; |
#404 | state->proxy.userpwd = NULL; |
ocinternal.c#451 | ocfree(state->proxy.host); |
#452 | ocfree(state->proxy.userpwd); |
ocinternal.h#219 | } proxy; |
ocrc.c#159 | ocextract_credentials(v, &state->proxy.userpwd, &result_url); |
#175 | state->proxy.host = malloc(sizeof(char) * host_len + 1); |
#176 | if (state->proxy.host == NULL) |
#178 | strncpy(state->proxy.host, host_pos, host_len); |
#179 | state->proxy.host[host_len] = '\0'; |
#180 | state->proxy.port = atoi(port_pos); |
#183 | state->proxy.host = malloc(sizeof(char) * host_len + 1); |
#184 | if (state->proxy.host == NULL) |
#186 | strncpy(state->proxy.host, host_pos, host_len); |
#187 | state->proxy.host[host_len] = '\0'; |
#188 | state->proxy.port = 80; |
#191 | state->proxy.host[v_len] = '\0'; |
#192 | state->proxy.port = atoi(v); |
#194 | state->proxy.user = malloc(sizeof(char) * s_len + 1); |
#195 | if (state->proxy.user == NULL) |
#197 | strncpy(state->proxy.user, v, s_len); |
#198 | state->proxy.user[s_len] = '\0'; |
#200 | state->proxy.password = malloc(sizeof(char) * p_len + 1); |
#201 | if (state->proxy.password == NULL) |
#203 | strncpy(state->proxy.password, v, p_len); |
#204 | state->proxy.password[p_len] = '\0'; |
#207 | oclog(OCLOGNOTE,"host name: %s", state->proxy.host); |
#209 | oclog(OCLOGNOTE,"user+pwd: %s", state->proxy.userpwd); |
#211 | oclog(OCLOGNOTE,"port number: %d", state->proxy.port); |
HyperKWIC - Version 7.20DA executed at 11:37 on 27 Oct 2017 | Polyhedron Solutions - INTERNAL USE | COMMERCIAL (Any O/S) SN 4AKIed