Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2008 02:40:03 GMT
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/45529: [patch] hexdump(1) core-dumps with certain args
Message-ID:  <200806210240.m5L2e39B004817@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/45529; it has been noted by GNATS.

From: "Garrett Cooper" <yanefbsd@gmail.com>
To: bug-followup@FreeBSD.org, drj@pobox.com
Cc:  
Subject: Re: bin/45529: [patch] hexdump(1) core-dumps with certain args
Date: Fri, 20 Jun 2008 19:31:32 -0700

 This set of bugs with hexdump is fixed in 8-CURRENT:
 
 optimus# /devel/hexdump_regr.pl
 hexdump: "%": bad format
 hexdump: "/1": bad format
 hexdump: "/1": bad format
 hexdump: "/1": bad format
 hexdump: "/1": bad format
 hexdump: "2/1": bad format
 optimus# cat /devel/hexdump_regr.pl
 #!/usr/bin/env perl
 
 @args = (
         '%',
         '/1 "%03"',
         '/1 "\%o"',
         '/1 "\t%03o"',
         '/1 "\\%03o"',
         '2/1 ""'
 );
 
 foreach $arg (@args) {
         system("hexdump -e " . $arg);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806210240.m5L2e39B004817>