dtwm: Resolve format-overflow issues
This commit is contained in:
committed by
Jon Trulson
parent
8844150d7f
commit
7641634130
@@ -2060,7 +2060,7 @@ SaveHelpResources(
|
||||
char *wsName;
|
||||
char workspaces[MAXWMPATH+1];
|
||||
|
||||
char buffer[MAXWMPATH+1];
|
||||
char buffer[MAXWMPATH + 1 + 1024];
|
||||
char *res_class;
|
||||
char *data;
|
||||
int cum_len;
|
||||
|
||||
@@ -2209,8 +2209,8 @@ void
|
||||
InitWmDisplayEnv (void)
|
||||
{
|
||||
char *pDisplayName;
|
||||
char buffer[256];
|
||||
char displayName[256];
|
||||
char buffer[10 + sizeof(displayName)];
|
||||
|
||||
pDisplayName = DisplayString (DISPLAY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user