Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Guard all std::mem* ops against any call with zero length. | Jack Lloyd | 2015-12-25 | 1 | -3/+12 |
| | | | | | | | | | | Calling memset, memmove, memcpy with an undefined or null pointer, even with length zero, causes undefined behavior. Prevent that from happening within the functions that call these dangerous things since allowing a caller to pass length == 0 with null or just past the end and not have things explode is nice. Oh C, you so crazy. | ||||
* | Internal header cleanups | Jack Lloyd | 2015-09-19 | 1 | -0/+127 |
| | | | | Only user-visible change is the removal of get_byte.h | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 1 | -1/+1 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Have clear_mem just be a plain memset and only call the (slow) | lloyd | 2014-08-09 | 1 | -1/+1 |
| | | | | | zero_mem just before a deallocation where we are actually at risk of the compiler eliding the writes. | ||||
* | Move lib into src | lloyd | 2014-01-10 | 1 | -0/+75 |