commit | c9edfa218e5a5972531b6f4a3ece8d33a44ae1b5 | [log] [tgz] |
---|---|---|
author | Vincent Palatin <[email protected]> | Thu Oct 16 17:10:30 2014 |
committer | Vincent Palatin <[email protected]> | Tue Dec 02 17:13:12 2014 |
tree | 742697db0bb207c6716d7484278ff91633c5f8ce | |
parent | d75c85291a61a6d83386de95cff6ad279e853ebd [diff] |
CHROMIUM: sigrok-cli: fix off by one Avoid memory corruption by an invalid write when adding the NULL terminator element at the end of the channels list. Valgrind seems to agree it's necessary. Signed-off-by: Vincent Palatin <[email protected]> BUG=none TEST=run on Valgrind Change-Id: Ie43e80600b23cbec4d8cd12e3ae5a5405bbef9a4