1
0
Fork 0

Merging upstream version 0.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 22:49:41 +01:00
parent 8cd96d68e4
commit 5aa3c6bba7
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
14 changed files with 114 additions and 72 deletions

View file

@ -8,7 +8,7 @@
#ifdef STATIC
#define PREBOOT
#include "lzip.c"
#include "lzip_decompress.c"
#else
#include "linux_lzip.h"
#include "linux_lunzip.h"
@ -69,9 +69,9 @@ STATIC int INIT __lunzip(unsigned char *inbuf, long in_len,
}
#ifndef PREBOOT
/* decompress_fn (see linux/decompress/generic.h) should have an out_size
* argument to prevent overrunning outbuf in case of corruption of the
* compressed data.
/* decompress_fn (see include/linux/decompress/generic.h) should have an
* out_size argument to prevent overflowing outbuf in case of corruption
* of the compressed data.
*/
STATIC int INIT lunzip(unsigned char *inbuf, long in_len,
long (*fill)(void*, unsigned long),