1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtprintinfo: Coverity 89669

This commit is contained in:
Peter Howkins 2018-07-04 01:55:44 +01:00
parent a38c049703
commit 09f187d6be

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';
}