diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-09-06 12:47:16 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-07 05:50:31 +0000 |
commit | 64b7b025b8c6cdb713e6bc5426de242d12282244 (patch) | |
tree | 7b4005c84f5f6ebb0c5b39a28398e9ba68ff3aa5 /include | |
parent | feedc908b9676093330da781fb32afcb61166316 (diff) | |
download | chrome-ec-64b7b025b8c6cdb713e6bc5426de242d12282244.tar.gz |
util/ecst: check fseek/ftell return values
Found by Coverity Scan #5814[14-9], #58159, #58160
Also fix a bunch of typos in comments and variable names and remove
extraneous fseek(..., 0, SEEK_SET) before moving to the actual offset
(again with SEEK_SET).
BUG=none
BRANCH=none
TEST=none
Change-Id: I9d7cb950a7a659c5abb1ff7d6d2c48d623ee515c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1789145
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Auto-Submit: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions