Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at commands.c:122

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

cmd_list

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/pop3/commands.c)expand/collapse
Show more  
 146  static int cmd_list(struct client *client, const char *args)
 147  {
 148          struct cmd_list_context *ctx;
 149   
 150          if (*args == '\0') {
 151[+]                 ctx = i_new(struct cmd_list_context, 1);
 152                  client_send_line(client, "+OK %u messages:",
 153                                   client->messages_count - client->deleted_count);
 154   
 155                  client->cmd = cmd_list_callback;
 156                  client->cmd_context = ctx;
 157[+]                 cmd_list_callback(client);
expand/collapse

cmd_list_callback

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/pop3/commands.c)expand/collapse
Show more  
 117  static void cmd_list_callback(struct client *client)
 118  {
 119          struct cmd_list_context *ctx = client->cmd_context;
 120          int ret = 1;
 121   
 122          for (; ctx->msgnum != client->messages_count; ctx->msgnum++) {
Show more  
Show more  




Change Warning 11557.24760 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: