[Buildroot] [PATCH] top: fix double free causing a SIGABRT storm after SIGPIPE
Luca Ceresoli
luca at lucaceresoli.net
Fri Aug 19 14:02:03 UTC 2016
Dear Thomas,
On 19/08/2016 15:57, Thomas Petazzoni wrote:
> Hello,
>
> On Fri, 19 Aug 2016 15:52:53 +0200, Luca Ceresoli wrote:
>> On some platforms the command 'top -n1 | head' goes very often into an
>> infinite loop of SIGABRT and double free()s.
>>
>> Fix by applying a patch from upstream.
>>
>> For a detailed explanation of the bug, see
>> http://lists.busybox.net/pipermail/busybox/2016-August/084555.html
>>
>> Thanks to Yann for the help in finding this bug.
>>
>> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
>> Cc: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>> ---
>> ...op-move-free-prev_hist-out-of-signal-path.patch | 48 ++++++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>> create mode 100644 package/busybox/0006-top-move-free-prev_hist-out-of-signal-path.patch
>
> Applied to master, after changing the commit title: you're changing the
> "busybox" package, not the "top" package.
Ouch, sorry and thanks!
--
Luca
More information about the buildroot
mailing list