dtprintinfo: Coverity 89669

This commit is contained in:
Peter Howkins 2018-07-04 01:55:44 +01:00
parent a38c049703
commit 09f187d6be
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ PrintXError(
ext = ext->next)
;
if (ext)
strcpy(buffer, ext->name);
snprintf(buffer, sizeof(buffer), "%s", ext->name);
else
buffer[0] = '\0';
}