[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Tar component in busybox version 1.34.1 has a memory leak bug when trying to unpack a tar file.
From: "Laurent Bercot" <ska-dietlibc () skarnet ! org>
Date: 2021-12-01 20:58:27
Message-ID: em7d11ef06-647a-4a2b-9bf6-eed9ea842f12 () elzian
[Download RAW message or body]
>A stock Linux system will happily slaughter your system services with the OOM killer before malloc ever returns NULL.
Only if overcommit is activated, which is not a good idea in embedded
systems where busybox is likely to be used.
Also, resource limits are a thing, and proper administration practices
make use of them.
malloc returning NULL is not so far out as people think it is, far
from it. It *does* happen.
--
Laurent
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic