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

dtwm: Resolve format-overflow issues

This commit is contained in:
Peter Howkins 2021-12-23 19:48:43 +00:00 committed by Jon Trulson
parent 8844150d7f
commit 7641634130
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -2209,8 +2209,8 @@ void
InitWmDisplayEnv (void)
{
char *pDisplayName;
char buffer[256];
char displayName[256];
char buffer[10 + sizeof(displayName)];
pDisplayName = DisplayString (DISPLAY);