pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44469: djbdns package ipv6 patch uses deprecated rather than

>Number:         44469
>Category:       pkg
>Synopsis:       djbdns package ipv6 patch uses deprecated rather than 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 26 15:50:00 +0000 2011
>Originator:     James A. T. Rice
The djbdns package uses the following ipv6 patch:

which appears to be the authors first version of said patch, at:

the latest version, as of 2011-01-26 is from 2005-09-08, at:

This incorporates changes such as IPv6 reverse DNS being in rather than (which was deprecated in 2006).

Another change incorporated is between

which had the following changes:

< +#define DNS_NAME6_DOMAIN (4*16+15)
> +#define DNS_NAME6_DOMAIN (4*16+10)

< +  byte_copy(name + 4*16,14,"\3ip6\3int\0");
< +  return 4*16+14;
> +  byte_copy(name + 4*16,9,"\3ip6\3int\0");
> +  return 4*16+9;

which seems to fix reading past the end of the constant string,
I have no idea if this also has security implications.


Consider incorporating changes which are present in


Home | Main Index | Thread Index | Old Index