/[base]
ViewVC logotype

Revision 322893


Jump to revision: Previous Next
Author: asomers
Date: Fri Aug 25 15:31:55 2017 UTC (6 years, 10 months ago)
Changed paths: 5
Log Message:
dd(1): Incorrect casting of arguments

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, and causes problems with boundary cases, for example
when count is SSIZE_MAX-1.

PR:		191263
Submitted by:	will@worrbase.com
Reviewed by:	pi, asomers
MFC after:	3 weeks


Changed paths

Path Details
Directoryhead/bin/dd/args.c modified , text changed
Directoryhead/bin/dd/conv.c modified , text changed
Directoryhead/bin/dd/dd.c modified , text changed
Directoryhead/bin/dd/dd.h modified , text changed
Directoryhead/bin/dd/position.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27