source:
npl/internetserver/djbdns/CVE2009-0858_0001-check-response-domain-name-length.patch
@
7afb649
Last change on this file since 7afb649 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 366 bytes |
-
response.c
a b int response_addname(const char *d) 34 34 uint16_pack_big(buf,49152 + name_ptr[i]); 35 35 return response_addbytes(buf,2); 36 36 } 37 if ( dlen <= 128)37 if ((dlen <= 128) && (response_len < 16384)) 38 38 if (name_num < NAMES) { 39 39 byte_copy(name[name_num],dlen,d); 40 40 name_ptr[name_num] = response_len;
Note: See TracBrowser
for help on using the repository browser.