mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-08 14:54:13 +01:00
Coverity: fix wmsetbg string not null terminated
This commit is contained in:
committed by
Carlos R. Mafra
parent
d831766572
commit
c7f7c10d7c
@@ -898,6 +898,7 @@ static noreturn void helperLoop(RContext * rc)
|
|||||||
int errcount = 4;
|
int errcount = 4;
|
||||||
|
|
||||||
memset(textures, 0, WORKSPACE_COUNT * sizeof(BackgroundTexture *));
|
memset(textures, 0, WORKSPACE_COUNT * sizeof(BackgroundTexture *));
|
||||||
|
memset(buffer, 0, sizeof(buffer));
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
int workspace = -1;
|
int workspace = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user