In article <20140116201146.6bf941df@zelz27>,
Matthias Drochner  <m.droch...@fz-juelich.de> wrote:
>-=-=-=-=-=-
>
>
>Hi -
>just found that the hosts table distributed in my company has an entry
>with ~40 aliases. There is a maximum of MAXALIASES=35 in NetBSD, and
>the effect is that not just this line is ignored but also the rest
>of the hosts file. This looks unreasonable.
>Here is a patch which fixes this for me - the offending line is
>ignored but the following lines are read.
>One could also just ignore the bad line in gethostent_r(), or even
>use the first MAXALIASES aliases and only ignore the aliases which
>don't fit.
>What do you think?

I removed the limit.

christos

Reply via email to