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 <is%netbsd.org@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, dholland%eecs.harvard.edu@localhost,
is%NetBSD.org@localhost
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.
Regards,
-is
Home |
Main Index |
Thread Index |
Old Index