source: npl/internetserver/djbdns/CVE2009-0858_0001-check-response-domain-name-length.patch @ 7afb649

gcc484perl-5.22
Last change on this file since 7afb649 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 366 bytes
  • response.c

    a b int response_addname(const char *d) 
    3434        uint16_pack_big(buf,49152 + name_ptr[i]);
    3535        return response_addbytes(buf,2);
    3636      }
    37     if (dlen <= 128)
     37    if ((dlen <= 128) && (response_len < 16384))
    3838      if (name_num < NAMES) {
    3939        byte_copy(name[name_num],dlen,d);
    4040        name_ptr[name_num] = response_len;
Note: See TracBrowser for help on using the repository browser.