Module Name: src Committed By: kamil Date: Wed Jul 25 21:51:32 UTC 2018
Modified Files: src/tests/include/sys: t_types.c Log Message: Avoid undefined behavior in an ATF test: t_types Replace UB with implementation defined logic to check whether ssize_t can wrap to a negative number. t_types.c:63:7, signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int' Detected with micro-UBSan in the user mode. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/include/sys/t_types.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.