[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-30
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-302-g2fd8016 |
Date: |
Thu, 18 Aug 2011 17:20:15 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via 2fd80168eff0eb62f937b2042ad29699cd54b8e8 (commit)
from 69ef4d66dab12e77e4008381d41ade848ce5dc36 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=2fd80168eff0eb62f937b2042ad29699cd54b8e8
commit 2fd80168eff0eb62f937b2042ad29699cd54b8e8
Author: Daniele Forsi <address@hidden>
Date: Thu Aug 18 19:18:58 2011 +0200
Use snprintf() instead of sprintf()
diff --git a/common/cfgreader.c b/common/cfgreader.c
index bfc10a6..15f2c8a 100644
--- a/common/cfgreader.c
+++ b/common/cfgreader.c
@@ -1090,7 +1090,7 @@ static char **get_locations(int *retval)
if (!xdg_config_home) {
xdg_config_home = calloc(MAX_PATH_LEN, sizeof(char));
free_xdg_config_home = 1;
- sprintf(xdg_config_home, "%s%s", home, XDG_CONFIG_HOME);
+ snprintf(xdg_config_home, MAX_PATH_LEN, "%s%s", home,
XDG_CONFIG_HOME);
}
aux = getenv("XDG_CONFIG_DIRS");
-----------------------------------------------------------------------
Summary of changes:
common/cfgreader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-302-g2fd8016,
Daniele Forsi <=