[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-53
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-532-g44ce296 |
Date: |
Mon, 16 Dec 2013 22:16:09 +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 44ce296f8edf7b24fd0e8be05cd8a4bb64b5db62 (commit)
from 546e13b14c2475e65ded08527f9671def445df31 (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=44ce296f8edf7b24fd0e8be05cd8a4bb64b5db62
commit 44ce296f8edf7b24fd0e8be05cd8a4bb64b5db62
Author: Daniele Forsi <address@hidden>
Date: Mon Dec 16 23:08:22 2013 +0100
Silence valgrind warnings about uninitialized memory
diff --git a/common/devices/socketphonet.c b/common/devices/socketphonet.c
index c84a1e9..35fc9c0 100644
--- a/common/devices/socketphonet.c
+++ b/common/devices/socketphonet.c
@@ -134,6 +134,9 @@ size_t socketphonet_read(int fd, __ptr_t buf, size_t
nbytes, struct gn_statemach
frame[3] = addr.spn_resource;
frame[4] = received >> 8;
frame[5] = received & 0xff;
+ /* The following bytes will be printed during debug so zero them to
silence valgrind */
+ frame[6] = 0;
+ frame[7] = 0;
return received + 8;
}
-----------------------------------------------------------------------
Summary of changes:
common/devices/socketphonet.c | 3 +++
1 files changed, 3 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-532-g44ce296,
Daniele Forsi <=