[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-9-
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-9-g5aa0822 |
Date: |
Sun, 09 May 2010 14:01:54 +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 5aa08222fd3e2d1999937d0c1e0c68eb4fa2d8a5 (commit)
from 8eb456627668dcf70a24cb36ccc96d78d6d6afe4 (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=5aa08222fd3e2d1999937d0c1e0c68eb4fa2d8a5
commit 5aa08222fd3e2d1999937d0c1e0c68eb4fa2d8a5
Author: Daniele Forsi <address@hidden>
Date: Sun May 9 15:59:54 2010 +0200
Fix "Conditional jump or move depends on uninitialised value(s)"
Valgrind output:
==3301== Conditional jump or move depends on uninitialised value(s)
==3301== at 0x8080D37: NK7110_IncomingFolder (nk7110.c:1190)
==3301== by 0x8062AF3: sm_incoming_function (gsm-statemachine.c:131)
==3301== by 0x80B4E00: fbus_loop (fbus.c:422)
==3301== by 0x80622A0: gn_sm_loop (gsm-statemachine.c:84)
==3301== by 0x8062854: __sm_block_timeout (gsm-statemachine.c:275)
==3301== by 0x8062950: sm_block_timeout (gsm-statemachine.c:293)
==3301== by 0x80629C6: sm_block (gsm-statemachine.c:305)
==3301== by 0x808243D: NK7110_GetSMSFolders (nk7110.c:1331)
==3301== by 0x80826CF: ValidateSMS (nk7110.c:1254)
==3301== by 0x8085AFB: NK7110_Functions (nk7110.c:1279)
==3301== by 0x80753AB: gn_sms_request (gsm-sms.c:1006)
==3301== by 0x8077B6E: gn_sms_get (gsm-sms.c:1032)
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 6427e49..025516f 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -1187,7 +1187,7 @@ static gn_error NK7110_IncomingFolder(int messagetype,
unsigned char *message, i
dprintf("\tFolder name: ");
len = 0;
/* search for the next folder's index number, i.e.
length of the folder name */
- while (message[i+1] != nextfolder && i < length) {
+ while (i + 1 < length && message[i + 1] != nextfolder) {
i += 2;
len += 2;
}
-----------------------------------------------------------------------
Summary of changes:
common/phones/nk7110.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-9-g5aa0822,
Daniele Forsi <=