Page MenuHomeFreeBSD

dd: handle seek/skip counts greater than INT_MAX
AbandonedPublic

Authored by emaste on Feb 21 2024, 10:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 2:58 PM
Unknown Object (File)
Thu, Oct 16, 2:31 AM
Unknown Object (File)
Sat, Oct 11, 7:13 PM
Unknown Object (File)
Sep 21 2025, 2:48 AM
Unknown Object (File)
Sep 15 2025, 9:59 AM
Unknown Object (File)
Sep 2 2025, 3:13 PM
Unknown Object (File)
Sep 2 2025, 10:34 AM
Unknown Object (File)
Sep 1 2025, 10:12 PM
Subscribers
None

Details

Reviewers
kevans
imp
Summary

INT_MAX is 0x7fffffff and we may need to seek or skip block counts larger than this.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.

Int_max is for ints, not the intmax_t type.