commit | 515bc375cb8daaee981bae97fa7ae80e7bf65c62 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Oct 27 16:32:32 2020 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Oct 27 16:36:36 2020 -0700 |
tree | da408a781b9ae28f37f2da4d69cebc43e3de745c | |
parent | be4ffa8720adfe03e00da0e4c16b1769f8540a72 [diff] |
sensorhandler: Fix uninitialized reads The response struct in GetSensorThresholdsResponse was not initialized and has arbitrary data leftover from the stack. Some values like upper and lower non-recoverable never get initialized and end up with garbage data being reported. Change-Id: I766f8daeb60c1ebc987cff6a24f8d8d78d64ffdd Signed-off-by: William A. Kennington III <wak@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.