gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-18


From: Pawel Kot
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-182-gb570554
Date: Thu, 17 Feb 2011 10:59:21 +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  b570554d50609a9f255e0be00f7f250a152023ba (commit)
      from  b765f13dba9e76e544198624430e4790f78d3c7f (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=b570554d50609a9f255e0be00f7f250a152023ba


commit b570554d50609a9f255e0be00f7f250a152023ba
Author: Pawel Kot <address@hidden>
Date:   Thu Feb 17 11:58:09 2011 +0100

    From: H.Merijn Brand
    
    Sanitize input to the public function.

diff --git a/common/gsm-common.c b/common/gsm-common.c
index c03be8f..53f80af 100644
--- a/common/gsm-common.c
+++ b/common/gsm-common.c
@@ -40,6 +40,8 @@ gn_error unimplemented(void)
 
 GNOKII_API gn_memory_type gn_str2memory_type(const char *s)
 {
+       if (!s)
+               return GN_MT_XX;
 #define X(a) if (!strcmp(s, #a)) return GN_MT_##a;
        X(ME);
        X(SM);

-----------------------------------------------------------------------

Summary of changes:
 common/gsm-common.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]