commit | c9edfa218e5a5972531b6f4a3ece8d33a44ae1b5 | [log] [tgz] |
---|---|---|
author | Vincent Palatin <vpalatin@chromium.org> | Thu Oct 16 17:10:30 2014 |
committer | Vincent Palatin <vpalatin@chromium.org> | 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 <vpalatin@chromium.org> BUG=none TEST=run on Valgrind Change-Id: Ie43e80600b23cbec4d8cd12e3ae5a5405bbef9a4