dtprintinfo: Coverity 89669
This commit is contained in:
@@ -149,7 +149,7 @@ PrintXError(
|
|||||||
ext = ext->next)
|
ext = ext->next)
|
||||||
;
|
;
|
||||||
if (ext)
|
if (ext)
|
||||||
strcpy(buffer, ext->name);
|
snprintf(buffer, sizeof(buffer), "%s", ext->name);
|
||||||
else
|
else
|
||||||
buffer[0] = '\0';
|
buffer[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user