diff options
| author | Mattias Andrée <m@maandree.se> | 2026-09-25 23:42:55 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-09-25 23:42:55 +0200 |
| commit | 4e81cb177ab77904e7a21ce70b9a5506bf09ad6e (patch) | |
| tree | 05634bdcd5b52c25bbeb986748d6b2c5acb728fb /common.h | |
| parent | m (diff) | |
| download | librecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.gz librecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.bz2 librecrypt-4e81cb177ab77904e7a21ce70b9a5506bf09ad6e.tar.xz | |
Add tests
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -408,7 +408,7 @@ librecrypt_concat_void_(struct concat_state *state, size_t len) { size_t n = state->size ? MIN(state->size - 1u, len) : 0u; if (len > SIZE_MAX - state->len) - abort(); /* TODO not covered */ + abort(); /* $covered$ */ state->len += len; if (n) { state->buf = &state->buf[n]; @@ -495,7 +495,7 @@ inline void librecrypt_concat_char_no_nul_(struct concat_state *state, char c) { if (state->len == SIZE_MAX) - abort(); /* TODO not covered */ + abort(); /* $covered$ */ state->len += 1u; if (state->size > 1u) { *state->buf++ = c; |
