Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at var-expand.c:312

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

var_has_key

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/var-expand.c)expand/collapse
Show more  
 307  bool var_has_key(const char *str, char key, const char *long_key)
 308  {
 309          const char *end;
 310          char c;
 311   
 312          for (; *str != '\0'; str++) {
 313                  if (*str == '%' && str[1] != '\0') {
 314                          str++;
 315                          c = var_get_key(str);
 316                          if (c == key)
 317                                  return TRUE;
 318   
 319                          if (c == '{' && long_key != NULL &&
 320                              (str = strchr(str, '{')) != NULL &&
Show more  




Change Warning 7145.24429 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: