Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at imap-util.c:63

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

client_read_args

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/imap/client.c)expand/collapse
Show more  
 302  bool client_read_args(struct client_command_context *cmd, unsigned int count,
 303                        unsigned int flags, const struct imap_arg **args_r)
 304  {
 305          string_t *str;
 306          int ret;
 307   
 308          i_assert(count <= INT_MAX);
 309   
 310[+]         ret = imap_parser_read_args(cmd->parser, count, flags, args_r);
 311          if (ret >= (int)count) {
 312                  /* all parameters read successfully */
 313                  i_assert(cmd->client->input_lock == NULL ||
 314                           cmd->client->input_lock == cmd);
 315   
 316                  str = t_str_new(256);
 317[+]                 imap_write_args(str, *args_r);
expand/collapse

imap_write_args

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-imap/imap-util.c)expand/collapse
Show more  
 58  void imap_write_args(string_t *dest, const struct imap_arg *args)
 59  {
 60          const ARRAY_TYPE(imap_arg_list) *list;
 61          bool first = TRUE;
 62   
 63          for (; args->type != IMAP_ARG_EOL; args++) {
Show more  
Show more  




Change Warning 7969.24791 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: