Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at strfuncs.c:326

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

namespace_settings_new

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/master-settings.c)expand/collapse
Show more  
 1187  static struct namespace_settings *
 1188  namespace_settings_new(struct server_settings *server, const char *type)
 1189  {
 1190          struct namespace_settings *ns, **ns_p;
 1191   
 1192          ns = p_new(settings_pool, struct namespace_settings, 1);
 1193          *ns = default_namespace_settings;
 1194   
 1195          ns->parent = server;
 1196[+][+]         ns->type = str_lcase(p_strdup(settings_pool, type));
expand/collapse

str_lcase

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/strfuncs.c)expand/collapse
Show more  
 322  char *str_lcase(char *str)
 323  {
 324          char *p;
 325   
 326          for (p = str; *p != '\0'; p++)
Show more  
Show more  




Change Warning 7843.24441 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: