Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/power: fix json null termination
[ upstream commit 8f8f876 ] coverity complains about a null-termination after a read, so we terminate once we exit the do-while read loop. Coverity issue: 337680 Fixes: a63504a ("examples/power: add JSON string handling") Signed-off-by: David Hunt <david.hunt@intel.com> Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
- Loading branch information