Commit: 7ecc95798b9f6980d6aa4bf4a9b685c8d5573bee
Parent: dd6ca5c7ea82e24e85eb60fbc2681563bf9d01a3
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-11-06 17:26:56
Tree: 6c5627e81a110ea747362436eeb3a1b39518a603

android/gatt: Fix using wrong variable type Not all bytes were set thus the following valgrind report: ==4748== Conditional jump or move depends on uninitialised value(s) ==4748== at 0x436493: att_handler (gatt.c:5922) ==4748== by 0x4448ED: received_data.part.2 (gattrib.c:432) ==4748== by 0x4E7FCE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4E80047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4E80309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==4748== by 0x4045B6: main (main.c:772) ==4748== Uninitialised value was created by a stack allocation ==4748== at 0x432690: get_cid.isra.5 (gatt.c:2983) ==4748==

Diffstat

M android/gatt.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch