Skip to content
Snippets Groups Projects
Commit eeac1961 authored by Adrien Vergé's avatar Adrien Vergé
Browse files

Uniformize strncpy usage

- set buffers size to N + 1
- strncpy(dst, src, N)
- null-terminate with dst[N] = '\0'
parent aeb5c6ee
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment