Re: problem report bin/157732

2011-06-20 Thread Christopher J. Ruwe
> > 2. You are probably right in checking to make sure that bumping > > up that limit of the hostname length would not result in a buffer > > overflow somewhere downstream. > > You should probably check that inet_addr() and all other relevant > > functions define the variables of the type and leng

Re: problem report bin/157732

2011-06-19 Thread Christopher J. Ruwe
On Sat, 18 Jun 2011 14:45:51 -0400 (EDT) Igor wrote: > > > 1. I don't think that the proposed patch by itself would be > reasonable. Some limit should be imposed. > > According to the RFC-1123 (2.1) (circa October 1989), > "Host software MUST handle host names of up to 63 characters and >

Re: problem report bin/157732, patch included

2011-06-18 Thread Igor
1. I don't think that the proposed patch by itself would be reasonable. Some limit should be imposed. According to the RFC-1123 (2.1) (circa October 1989), "Host software MUST handle host names of up to 63 characters and SHOULD handle host names of up to 255 characters." http://www.ietf.o

problem report bin/157732, patch included

2011-06-18 Thread Christopher J. Ruwe
Currently, I have issues mailing to *@freebsd.org, so please reply to c...@cruwe.de. I have started looking at FreeBSD bug reports recently to improve my skills in C, to learn more about operating systems which I am concentrating on at university and, at some point, contribute should my abilities