1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 12:54:20 +01:00

Coverity: fix wmsetbg string not null terminated

This commit is contained in:
David Maciejak
2023-03-01 06:37:45 +08:00
committed by Carlos R. Mafra
parent d831766572
commit c7f7c10d7c

View File

@@ -898,6 +898,7 @@ static noreturn void helperLoop(RContext * rc)
int errcount = 4;
memset(textures, 0, WORKSPACE_COUNT * sizeof(BackgroundTexture *));
memset(buffer, 0, sizeof(buffer));
while (1) {
int workspace = -1;