summaryrefslogtreecommitdiff
path: root/resources/coreboot/x301_8mb/board.cfg
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-04 15:12:14 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-04 15:19:53 +0100
commit3c2a287eeab43d87a10b4acd52508f87e4e11e2c (patch)
tree1906b73e55e556d0b510e5d65b227bcc9516c672 /resources/coreboot/x301_8mb/board.cfg
parent979db74ca5768f6757a82ac2654e40caf183a66b (diff)
util/spkmodem-recv: handle sample errors correctly
when calling fread(), errno may be set to EOVEFLOW if the range being read will cause an integer overflow if end-of-file is reached, errno may not be set. when calling this function, you must check errno or check feof() - ferror() should also be checked, so this check is added immediately afterwards in the code ferror() does not set errno, so ERR() is used to set errno to ECANCELED as program exit status further separate reading of frames into a new function Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/coreboot/x301_8mb/board.cfg')
0 files changed, 0 insertions, 0 deletions