[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-45
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-450-g536cd75 |
Date: |
Mon, 15 Apr 2013 10:30: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 536cd7547366eff8ea3cbcab2424c2ac0f2206c1 (commit)
from 9b7ae80b7a45d0833fc2177dd719a0483e76701e (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=536cd7547366eff8ea3cbcab2424c2ac0f2206c1
commit 536cd7547366eff8ea3cbcab2424c2ac0f2206c1
Author: Daniele Forsi <address@hidden>
Date: Mon Apr 15 12:25:41 2013 +0200
Fix: Null pointer passed as an argument to a 'nonnull' parameter
A NULL basepath would be used in: st = stat(basepath, &buf);
Error found with scan-build.
diff --git a/gnokii/gnokii.c b/gnokii/gnokii.c
index c84985d..c1ec724 100644
--- a/gnokii/gnokii.c
+++ b/gnokii/gnokii.c
@@ -315,6 +315,7 @@ static int install_log_handler(void)
}
#endif
if (!basepath)
+ basepath = ".";
path = ".";
else {
path = calloc(MAX_PATH_LEN, sizeof(char));
-----------------------------------------------------------------------
Summary of changes:
gnokii/gnokii.c | 1 +
1 files changed, 1 insertions(+), 0 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-450-g536cd75,
Daniele Forsi <=