Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix invalid read in aligned_alloc | Rich Felker | 2012-12-06 | 1 | -2/+3 |
| | | | | | | in case of mmap-obtained chunks, end points past the end of the mapping and reading it may fault. since the value is not needed until after the conditional, move the access to prevent invalid reads. | ||||
* | implement "low hanging fruit" from C11 | Rich Felker | 2012-08-25 | 1 | -0/+51 |
based on Gregor's patch sent to the list. includes: - stdalign.h - removing gets in C11 mode - adding aligned_alloc and adjusting other functions to use it - adding 'x' flag to fopen for exclusive mode |