| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | server.c: Fix wrong size for memcpy(3) | Xavier Del Campo Romero | 2023-07-20 | 1 | -4/+5 |
| | | |||||
| * | server.c: Minor const-correctness improvement | Xavier Del Campo Romero | 2023-07-20 | 1 | -1/+1 |
| | | |||||
| * | Fix memory leak on failed realloc(3) | Xavier Del Campo Romero | 2023-07-20 | 1 | -6/+18 |
| | | | | | | | | | | | According to C99 ยง7.20.3.4: If memory for the new object cannot be allocated, the old object is not deallocated and its value is unchanged. Therefore, a temporary pointer must be used to ensure the original object can still be deallocated should realloc(3) return a null pointer. | ||||
| * | Initial commit | Xavier Del Campo Romero | 2023-07-20 | 1 | -0/+303 |
