Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at strfuncs.c:409

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

lazy_expunge_mail_storage_init

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/lazy-expunge/lazy-expunge-plugin.c)expand/collapse
Show more  
 516  static void lazy_expunge_mail_storage_init(struct mail_storage *storage)
 517  {
 518          struct lazy_expunge_mailbox_list *llist =
 519                  LAZY_EXPUNGE_LIST_CONTEXT(storage->list);
 520          struct lazy_expunge_mail_storage *lstorage;
 521          const char *const *p;
 522          unsigned int i;
 523   
 524          /* if this is one of our internal storages, mark it as such before 
 525             quota plugin sees it */
 526[+]         p = t_strsplit_spaces(getenv("LAZY_EXPUNGE"), " ");
expand/collapse

t_strsplit_spaces

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/strfuncs.c)expand/collapse
Show more  
 462  const char **t_strsplit_spaces(const char *data, const char *separators)
 463  {
 464          return (const char **)split_str(unsafe_data_stack_pool, data,
 465[+]                                         separators, TRUE);
expand/collapse

split_str

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/strfuncs.c)expand/collapse
Show more  
 398  static char **
 399  split_str(pool_t pool, const char *data, const char *separators, int spaces)
 400  {
 401          char **array;
 402          char *str;
 403          unsigned int count, alloc_count, new_alloc_count;
 404   
 405          i_assert(*separators != '\0');
 406   
 407          if (spaces) {
 408                  /* skip leading separators */
 409                  while (*data != '\0' && strchr(separators, *data) != NULL)
Show more  
Show more  
Show more  




Change Warning 8117.24580 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: