[PATCH] Fix integer overflow handling in dd(1)

2014-09-19 Thread William Orr
Hey, I've submitted this patch before, and it's gotten comments and fixes, but still hasn't been merged. Any thoughts? Does it need more work? Thanks, William Orr Index: args.c === --- args.c(revision 270

Re: Inconsistent behavior with dd(1)

2014-09-11 Thread William Orr
Hey, any thoughts on this? Does it need more work? Can it get merged? On 08/25/2014 09:49 PM, William Orr wrote: > On 8/18/14 12:00 PM, William Orr wrote: >> Reply inline. >> >> On 08/16/2014 10:34 AM, John-Mark Gurney wrote: >>> Alan Somers wrote this message on Fr

Re: Inconsistent behavior with dd(1)

2014-08-25 Thread William Orr
On 8/18/14 12:00 PM, William Orr wrote: Reply inline. On 08/16/2014 10:34 AM, John-Mark Gurney wrote: Alan Somers wrote this message on Fri, Aug 15, 2014 at 10:42 -0600: On Thu, Aug 14, 2014 at 11:55 PM, William Orr wrote: Hey, I found some inconsistent behavior with dd(1) when it comes to

Re: Inconsistent behavior with dd(1)

2014-08-18 Thread William Orr
Reply inline. On 08/16/2014 10:34 AM, John-Mark Gurney wrote: > Alan Somers wrote this message on Fri, Aug 15, 2014 at 10:42 -0600: >> On Thu, Aug 14, 2014 at 11:55 PM, William Orr wrote: >>> Hey, >>> >>> I found some inconsistent behavior with dd(1) when it c

Inconsistent behavior with dd(1)

2014-08-14 Thread William Orr
(1373071 bytes/sec) [ worr on terra ] ( ~ ) % dd if=/dev/zero of=/dev/null count=-1 dd: count cannot be negative — Any chance someone has the time and could take a look? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191263 Thanks, William Orr — Here’s the patch: Index: bin/dd/args.c