On 17/04/2024 3:37 pm, Daniel P. Smith wrote: > All the other decompression routines use xmalloc_bytes(), thus there is no > reason for gzip to be handling its own allocation of memory. In fact, there is > a bug somewhere in the allocator as decompression started to break when adding > additional allocations. Instead of troubleshooting the allocator, replace it > with xmalloc_bytes(). > > Signed-off-by: Daniel P. Smith <[email protected]> > --- > xen/common/gzip/gunzip.c | 17 ++------------ > xen/common/gzip/inflate.c | 47 --------------------------------------- > 2 files changed, 2 insertions(+), 62 deletions(-)
Good riddance. Reviewed-by: Andrew Cooper <[email protected]>
