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_hook_mail_namespaces_created

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/lazy-expunge/lazy-expunge-plugin.c)expand/collapse
Show more  
 568  lazy_expunge_hook_mail_namespaces_created(struct mail_namespace *namespaces)
 569  {
 570          struct lazy_expunge_mail_user *luser =
 571                  LAZY_EXPUNGE_USER_CONTEXT(namespaces->user);
 572          struct lazy_expunge_mail_storage *lstorage;
 573          const char *const *p;
 574          int i;
 575   
 576[+]         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 8118.24582 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: