Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of HAVE_CONFIG_H, it is always defined; idea from libnbcompat. | Ingo Schwarze | 2014-08-10 | 1 | -2/+0 |
| | | | | | | Include <sys/types.h> where needed, it does not belong in config.h. Remove <stdio.h> from config.h; if it is missing somewhere, it should be added, but i cannot find a *.c file where it is missing. | ||||
* | Audit malloc(3)/calloc(3)/realloc(3) usage. | Ingo Schwarze | 2014-04-23 | 1 | -0/+45 |
* Change eight reallocs to reallocarray to be safe from overflows. * Change one malloc to reallocarray to be safe from overflows. * Change one calloc to reallocarray, no zeroing needed. * Change the order of arguments of three callocs (aesthetical). |