[Bug 191263] New: [patch] dd(1): Incorrect casting of arguments
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jun 22 08:13:03 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191263
Bug ID: 191263
Summary: [patch] dd(1): Incorrect casting of arguments
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: will at worrbase.com
Created attachment 144014
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144014&action=edit
Better argument handling patch
dd(1) casts many of its numeric arguments from uintmax_t to intmax_t and back
again to detect whether or not the original arguments were negative. This is
not correct.
Attached is a patch that removes the pointless casts, and detects negative
numbers slightly more reliably.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list