Date: Mon, 2 Aug 2004 18:54:01 +0000 (UTC) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ndiscvt ndiscvt.c Message-ID: <200408021854.i72Is1SS032068@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2004-08-02 18:54:01 UTC FreeBSD src repository Modified files: usr.sbin/ndiscvt ndiscvt.c Log: Today, RealTek sent me a driver to test which had been compiled with some debug support turned on. It turns out the sections in this driver binary had relative virtual addresses (RVAs) that were different from the raw addresses, and it had a .data section where the virtual size was much larger than the raw size. (Most production binaries produced with the Microsoft DDK have RVA == PA.) There's code in the ndiscvt(8) utility that's supposed to handle the vsize != rsize case, but it turns out it was slightly broken, and it failed to handle the RVA != RA case at all. Hopefully, this commit will fix all that. Revision Changes Path 1.9 +43 -45 src/usr.sbin/ndiscvt/ndiscvt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408021854.i72Is1SS032068>