NetBSD-Bugs archive

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

Re: install/42436

The following reply was made to PR install/42436; it has been noted by GNATS.

From: Ignatios Souvatzis <>
To: Martin Husemann <>
Subject: Re: install/42436
Date: Wed, 13 Jan 2010 13:00:31 +0100

 On Tue, Jan 12, 2010 at 09:03:01PM +0100, Martin Husemann wrote:
 > Since the sockaddr changes struct ifreq and struct ifmediareq are no longer
 > "compatible" in the strange kind of way this code assumed. (The crash happens
 > dereferencing sa_in, which is NULL, in the code below after the first ioctl.)
 > Proof of concept patch below (not even compile tested, but you get the idea).
 > If nobody beats me to it, I'll test and commit tomorrow.
 compiles on -rnetbsd-5 after s,ift,ifr, and works.

Home | Main Index | Thread Index | Old Index