[Bug 272474] lib/libc: bcmp may give wrong results on LP64 systems
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 272474] lib/libc: bcmp may give wrong results on LP64 systems"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Jul 2023 18:43:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272474
Brooks Davis <brooks@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |brooks@FreeBSD.org
--- Comment #1 from Brooks Davis <brooks@FreeBSD.org> ---
With such a long lived bug, I might be tempted to go with:
return (length <= (size_t)INT_MAX ? length : -1);
--
You are receiving this mail because:
You are the assignee for the bug.