diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2021-05-26 11:02:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-27 08:50:38 +0200 |
commit | 8496462a2470f735283638ffcaa280e46fc50f7e (patch) | |
tree | 661a21fe637883d08f271f72ae44ea4e4d199709 /lib/kstrtox.c | |
parent | 6596a182cacba78d2f2346a083b1f6d72f707700 (diff) | |
download | barebox-8496462a2470f735283638ffcaa280e46fc50f7e.tar.gz barebox-8496462a2470f735283638ffcaa280e46fc50f7e.tar.xz |
uncompress: use read_full to fill decompression buffer
The decompression algorithms want all of the requested buffer size
to be filled and don't cope with less bytes being returned.
Use read_full to satisfy this requirement.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.barebox.org/20210526090216.4003977-1-l.stach@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions