summaryrefslogtreecommitdiffstats
path: root/lib/decompress_inflate.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2021-05-26 11:02:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-27 08:50:38 +0200
commit8496462a2470f735283638ffcaa280e46fc50f7e (patch)
tree661a21fe637883d08f271f72ae44ea4e4d199709 /lib/decompress_inflate.c
parent6596a182cacba78d2f2346a083b1f6d72f707700 (diff)
downloadbarebox-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/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions