Commit f6f939b
committed
tee-supplicant: preserve large REE FS file lengths
REE FS RPC passes file lengths as 64-bit values, but truncate stored
them in size_t. This truncated large lengths on 32-bit builds.
Enable 64-bit file offsets and use off_t for the truncate length.
Fixes: 1472d0e ("Add new RPC FS functions with useful error codes")
Signed-off-by: Sungbae Yoo <sungbaey@nvidia.com>
Reviewed-by: Jens Wiklander <jens.wiklander@oss.qualcomm.com>1 parent ab96380 commit f6f939b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
395 | | - | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
| |||
0 commit comments