Date: Thu, 29 Mar 2012 15:52:23 -0700 From: Xin Li <delphij@delphij.net> To: eadler@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org, d@delphij.net Subject: Re: bin/166483: if_nametoindex sends un-initialized bytes to ioctl Message-ID: <4F74E7A7.2030603@delphij.net> In-Reply-To: <201203291309.q2TD9leD067354@freefall.freebsd.org> References: <201203291309.q2TD9leD067354@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I think we would probably want to put the proposed change under #ifdef PURIFY -- the initialization is not necessary since the uninitialized part is never touched for the whole codepath. Just my $0.02. Cheers, -- Xin LI <delphij@delphij.net> https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F74E7A7.2030603>