Text   |  XML   |  ReML   |   Visible Warnings:

Unreasonable Size Argument  at login-process.c:267

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

login_process_read_group

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/login-process.c)expand/collapse
Show more  
 247  static bool (struct  *p)
 248  {
 249          struct  *group;
 250          const char *name, *proto;
 251          unsigned char buf[256];
 252          enum mail_protocol protocol;
 253          unsigned int len;
 254          ssize_t ret;
 255   
 256          /* read length */
 257          ret = read(p->fd, buf, 1);
 258          if (ret != 1)
 259                  len = 0;
 260          else {
 261                  len = buf[0];
 262                  if (len >= sizeof(buf)) {
 263                          i_error(": Server name length too large");
 264                          return FALSE;
 265                  }
 266   
 267                  ret = read(p->fd, buf, len);
Show more  




Change Warning 12137.24996 : Unreasonable Size Argument

Priority:
State:
Finding:
Owner:
Note: