Bad access to IP address in memory

Julien ÉLIE julien at trigofacile.com
Sat Jul 5 09:32:53 UTC 2008


Hi Russ,

>> I believe this bug comes from network_sockaddr_sprint because it does
>> not handle a 0 family value:
>
> I don't think it should.  0 isn't a valid family, and that's intended to
> be generic code.  An all-zero address, including a zero family, doesn't
> mean localhost; it's an invalid value.  It just happens to be what innd
> uses to indicate that the given channel isn't a network channel at all.
> (So the real bug is in ever passing such a thing to any network_*
> function, since it isn't a network address or connection.)

All right.  I will then fix status.c so that it does not call
network_sockaddr_sprint for this local connection.
I will (try to) check whether there are other unwanted calls to that in the code.

-- 
Julien ÉLIE

« Le chemin n'est pas difficile, c'est le difficile qui est le chemin. » (Kierkegaard)



More information about the inn-workers mailing list