dtappbuilder: Coverity fixes for mising return value and copy into fixed size buffer
This commit is contained in:
@@ -90,7 +90,7 @@ abio_expand_file(
|
||||
/*
|
||||
* Expand the file name and store to it.
|
||||
*/
|
||||
strcpy(Buf, file);
|
||||
snprintf(Buf, sizeof(Buf), "%s", file);
|
||||
if (abio_expand_bil_module_path(Buf) == -1)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user