Date: Sat, 21 Jun 2008 15:10:34 -0700 From: "Garrett Cooper" <yanefbsd@gmail.com> To: "Garrett Cooper" <yanegomi@gmail.com> Cc: freebsd-bugs@freebsd.org Subject: Re: bin/45529: [patch] hexdump(1) core-dumps with certain args Message-ID: <7d6fde3d0806211510t4ddd4eacxd064b34225efdca8@mail.gmail.com> In-Reply-To: <200806212030.m5LKU7gG033911@freefall.freebsd.org> References: <200806212030.m5LKU7gG033911@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 21, 2008 at 1:30 PM, Garrett Cooper <yanegomi@gmail.com> wrote: > The following reply was made to PR bin/45529; it has been noted by GNATS. > > From: "Garrett Cooper" <yanegomi@gmail.com> > To: bug-followup@FreeBSD.org, drj@pobox.com > Cc: > Subject: Re: bin/45529: [patch] hexdump(1) core-dumps with certain args > Date: Sat, 21 Jun 2008 13:23:03 -0700 > > This patch fixes the issue (at least from what I can tell): > http://yanegomi-fbsd-patches.googlecode.com/files/hexdump_parse_fix_draft1.patch > > I also fixed the regression script: > http://yanegomi-fbsd-patches.googlecode.com/files/hexdump_regr.sh > > Cheers, > -Garrett > > Proof: > > [gcooper@optimus /devel/ncvs/src/usr.bin/hexdump]$ > /devel/hexdump_regr.sh hexdump > hexdump -e "%," > hexdump: "%,": bad format > hexdump -e "/1 "%03"," > hexdump: "/1 "%03",": bad format > hexdump -e "/1 "\%o"," > hexdump: "/1 "\%o",": bad format > hexdump -e "/1 "\t%03o"," > hexdump: "/1 "\t%03o",": bad format > hexdump -e "/1 "\\%03o"," > hexdump: "/1 "\\%03o",": bad format > hexdump -e "2/1 """ > Segmentation fault (core dumped) > [gcooper@optimus /devel/ncvs/src/usr.bin/hexdump]$ > /devel/hexdump_regr.sh ./hexdump > ./hexdump -e "%," > hexdump: "%,": bad format > ./hexdump -e "/1 "%03"," > hexdump: "/1 "%03",": bad format > ./hexdump -e "/1 "\%o"," > hexdump: "/1 "\%o",": bad format > ./hexdump -e "/1 "\t%03o"," > hexdump: "/1 "\t%03o",": bad format > ./hexdump -e "/1 "\\%03o"," > hexdump: "/1 "\\%03o",": bad format > ./hexdump -e "2/1 """ > hexdump: "2/1 """: bad format Patch doesn't fix everything. Still working on a proper patch. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0806211510t4ddd4eacxd064b34225efdca8>