Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Security review: check results of snprintf. | Hisham Muhammad | 2017-07-27 | 1 | -0/+3 |
| | | | | | Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does. | ||||
* | Fix xStrdup debug build failure & allow Clang to use ((nonnull)) | Explorer09 | 2016-06-03 | 1 | -2/+7 |
| | |||||
* | Add assert and __attribute__((nonnull)) on xStrdup | Explorer09 | 2016-06-02 | 1 | -1/+13 |
| | | | | | | | | | __attribute__((nonnull)) will help catching "calling with NULL" mistake on compile time. I also convert xStrdup into a macro, that will do assert() inline when the code is *not* built with -DNDEBUG . For release builds (with -DNDEBUG), preprocessor trick will ensure that generated code remains the same. | ||||
* | Add allocation tests | Hisham | 2016-01-31 | 1 | -0/+20 |