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:
parent
8844150d7f
commit
7641634130
2 changed files with 2 additions and 2 deletions
|
@ -2060,7 +2060,7 @@ SaveHelpResources(
|
||||||
char *wsName;
|
char *wsName;
|
||||||
char workspaces[MAXWMPATH+1];
|
char workspaces[MAXWMPATH+1];
|
||||||
|
|
||||||
char buffer[MAXWMPATH+1];
|
char buffer[MAXWMPATH + 1 + 1024];
|
||||||
char *res_class;
|
char *res_class;
|
||||||
char *data;
|
char *data;
|
||||||
int cum_len;
|
int cum_len;
|
||||||
|
|
|
@ -2209,8 +2209,8 @@ void
|
||||||
InitWmDisplayEnv (void)
|
InitWmDisplayEnv (void)
|
||||||
{
|
{
|
||||||
char *pDisplayName;
|
char *pDisplayName;
|
||||||
char buffer[256];
|
|
||||||
char displayName[256];
|
char displayName[256];
|
||||||
|
char buffer[10 + sizeof(displayName)];
|
||||||
|
|
||||||
pDisplayName = DisplayString (DISPLAY);
|
pDisplayName = DisplayString (DISPLAY);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue