[ds6-devel] Re: netcat6: patch - address equality
Chris Leishman
chris at leishman.org
Wed Mar 19 14:04:42 CET 2003
On Wednesday, March 19, 2003, at 12:46 PM, Mauro Tortonesi wrote:
>> I found an error in netcat6's address equality testing function. At
>> least in the version distributed by Debian (0.2pre2).
>>
>> The code uses a memcmp to compare IPv6 addresses, but does so over a
>> wrong size: It is comparing (struct in6_addr) structures, but compares
>> memory on (sizeof struct sockaddr_in6) bytes, leading to false
>> negatives.
>
> thank you very much, lionel, but fortunately that problem had been
> already
> fixed before nc6-0.3. you should probably consider upgrading to
> nc6-0.4, but
> i don't know if there is already a debian package for the new version
> of nc6.
I emailed the maintainer a week or so ago, asking him to update the
package - but I haven't heard anything. I'll give him a little longer,
and then I'll put on my debian maintainer hat and do an update myself.
Regards,
Chris
More information about the ds6-devel
mailing list