| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-06-26 | Prevent an implicit int promotion in malloc/tst-alloc_buffer.c | Tulio Magno Quites Machado Filho | 1 | -1/+1 | |
| According to ISO C11, section 6.5.3.3 "Unary arithmetic operators", the result of the ~ operator is the bitwise complement of its (promoted) operand. This can lead to a comparison of a char with another integer type. Tested on powerpc, powerpc64 and powerpc64le. * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char before comparing with another char. | |||||
| 2017-06-21 | Implement allocation buffers for internal use | Florian Weimer | 1 | -0/+665 | |
| This commit adds fixed-size allocation buffers. The primary use case is in NSS modules, where dynamically sized data is stored in a fixed-size buffer provided by the caller. Other uses include a replacement of mempcpy cascades (which is safer due to the size checking inherent to allocation buffers). | |||||
