Current-Users archive

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

Re: ntpq -p coredumps with today's sources

From: Frank Kardel <>, Date: Tue, 20 Mar 2012 
10:13:27 +0100

> On 03/20/12 09:59, Martin Husemann wrote:
>> On Tue, Mar 20, 2012 at 08:39:43AM +0100, Frank Kardel wrote:
>>> Could you check this patch.
>>> ntpq.c exercises the new AI_ADDRCONFIG option in getaddrinfo(). There
>>> seems to
>>> be a PNPE (programmed null pointer exception).
>> See also PR pkg/46206 (likely the same problem)
>> Martin
> Looks like it from the PR. I can't test right now but the patch should
> be very much
> the correct fix as the current code is definitely a *0 when
> Can anyone test ?

I have reproduced the problem of firefox.

With your patch, firefox runs (without your patch core dumps).
But firefox cannot resolve hostname.
For example, on firefox, is "Server not found". is displayed properly.

This will help?

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index