Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/gpl2/grep/dist/lib
Module Name: src
Committed By: kamil
Date: Wed Jun 13 17:32:29 UTC 2018
Modified Files:
src/external/gpl2/grep/dist/lib: obstack.c
Log Message:
Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)
Replace homegrown logic of calculating alignment with alignof, a C11 header
feature.
Add a check for NetBSD >= 8.0 just in case that someone will want to build
it on older NetBSD.
Issue detected with UBSan.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/grep/dist/lib/obstack.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index