Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at str.c:91

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

lazy_expunge_move_expunges

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/lazy-expunge/lazy-expunge-plugin.c)expand/collapse
Show more  
 169  static int lazy_expunge_move_expunges(struct mailbox *srcbox,
 170                                        struct lazy_expunge_transaction *lt)
 171  {
 172          struct maildir_mailbox *msrcbox = (struct maildir_mailbox *)srcbox;
 173          struct mailbox_transaction_context *trans;
 174          struct index_transaction_context *itrans;
 175          struct lazy_expunge_move_context ctx;
 176          const struct seq_range *range;
 177          unsigned int i, count;
 178          const char *dir;
 179          uint32_t seq, uid, seq1, seq2;
 180          bool is_file;
 181          int ret = 0;
 182   
 183          dir = mail_storage_get_mailbox_path(lt->expunge_box->storage,
 184                                              lt->expunge_box->name, &is_file);
 185[+]         dir = t_strconcat(dir, "/cur/", NULL);
 186   
 187          ctx.path = str_new(default_pool, 256);
 188[+]         str_append(ctx.path, dir);
expand/collapse

str_append

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/str.c)expand/collapse
Show more  
 89  void str_append(string_t *str, const char *cstr)
 90  {
 91          buffer_append(str, cstr, strlen(cstr));
Show more  
Show more  




Change Warning 8111.25681 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: