Text   |  XML   |  ReML   |   Visible Warnings:

Format String  at imap-acl-plugin.c:353

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

cmd_listrights

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/imap-acl/imap-acl-plugin.c)expand/collapse
Show more  
 332  static bool cmd_listrights(struct client_command_context *cmd)
 333  {
 334          struct mailbox *box;
 335          const char *mailbox, *identifier;
 336          string_t *str;
 337   
 338          if (!client_read_string_args(cmd, 2, &mailbox, &identifier))
 339                  return FALSE;
 340   
 341          box = acl_mailbox_open_as_admin(cmd, mailbox);
 342          if (box == NULL)
 343                  return TRUE;
 344   
 345          str = t_str_new(128);
 346          str_append(str, "* LISTRIGHTS ");
 347          imap_quote_append_string(str, mailbox, FALSE);
 348          str_append_c(str, ' ');
 349          imap_quote_append_string(str, identifier, FALSE);
 350          str_append_c(str, ' ');
 351          str_append(str, "\"\" l r w s t p i e k x a c d");
 352   
 353          client_send_line(cmd->client, str_c(str));
 354          client_send_tagline(cmd, "OK Listrights completed.");
 355          mailbox_close(&box);
 356          return TRUE;
 357  }
Show more  




Change Warning 8191.26105 : Format String

Priority:
State:
Finding:
Owner:
Note: