Module Name: src Committed By: kamil Date: Sat Jun 16 18:54:52 UTC 2018
Modified Files: src/external/bsd/nvi/dist/common: log.c Log Message: Do not cause Undefined Behavior in vi(1) Replace unportable manual calculation of alignof() that causes UB, with a GCC extension __alignof__. This fixes a problem reported by UBSan with the MKSANITIZER distribution. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/common/log.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.