Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at auth-client.c:150

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

auth_client_lookup_and_restrict

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/deliver/auth-client.c)expand/collapse
Show more  
 127  int auth_client_lookup_and_restrict(const char *auth_socket,
 128                                      const char **user, uid_t euid, pool_t pool,
 129                                      ARRAY_TYPE(const_string) *extra_fields_r)
 130  {
 131          struct auth_master_connection *conn;
 132          struct auth_user_reply reply;
 133          bool debug = getenv("DEBUG") != NULL;
 134          int ret = EX_TEMPFAIL;
 135   
 136          conn = auth_master_init(auth_socket, debug);
 137[+]         switch (auth_master_user_lookup(conn, *user, "deliver", pool, &reply)) {
 138          case 0:
 139                  ret = EX_NOUSER;
 140                  break;
 141          case 1:
 142                  if (set_env(&reply, *user, euid) == 0) {
 143                          *user = p_strdup(pool, reply.user);
 144                          restrict_access_by_env(TRUE);
 145                          ret = EX_OK;
 146                  }
 147                  break;
 148          }
 149   
 150          *extra_fields_r = reply.extra_fields;
Show more  




Change Warning 8004.24979 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: