Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 18:42:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191263] [patch] dd(1): Incorrect casting of arguments
Message-ID:  <bug-191263-8-tnPusD7AgF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191263-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191263-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191263

--- Comment #6 from Kurt Jaeger <pi@FreeBSD.org> ---
(In reply to will from comment #5)
> Created attachment 147543 [details]
> Better argument handling patch with fix for count=SIZE_MAX

Thanks. Patch build-tested against src/bin/dd/ from HEAD, builds fine on
10.0p9-amd64.

You have 3 test cases, with ...16, ...15 and ...14 as count values for dd.

Interestingly the ...15 case behaves different from your example ?

$ ./dd if=/dev/zero of=/dev/null count=18446744073709551615
0+0 records in
0+0 records out
0 bytes transferred in 0.000007 secs (0 bytes/sec)

What's the difference ?

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191263-8-tnPusD7AgF>