Justus Winter, le Tue 04 Feb 2014 11:50:03 +0100, a écrit :
> Use strncpy instead of strcpy to copy the name of a symbol into the
> symtab structure. Make sure that the string is properly terminated.
>
> Found using Coverity.
>
> * ddb/db_sym.c (db_add_symbol_table): Use strncpy instead of strcp
Use strncpy instead of strcpy to copy the name of a symbol into the
symtab structure. Make sure that the string is properly terminated.
Found using Coverity.
* ddb/db_sym.c (db_add_symbol_table): Use strncpy instead of strcpy,
ensure string termination.
---
ddb/db_sym.c | 3 ++-
1 file changed,