Corubba Smith <corubba@xxxxxx> wrote: > So my proposed fix would be: > > - strncpy(&config_errce->key[0], wordbuf, CONFIG_KEY_LEN - 1); > + memcpy(&config_errce->key[0], wordbuf, sizeof(config_errce->key) - 1); > > Compiles without a warning, and tested to work as expected. Would you > like a v3 of the whole patch, or is this addendum good enough? Please rebase and send a v3.