Upstream sez:
> Looking at the strace output, the buffer overflow might be caused by calling
> the localtime() function from the C library. In that case the /etc/localtime
> file might be corrupted.
> See also a similar issue: https://access.redhat.com/solutions/3630021
>
> Other question to be sure about the cause of this issue:
>
> Can you run 'atop 1 1 | cat' and see if that terminates with the buffer
> overflow as well?
> If it does, the overflow is anyhow not caused by libncurses (not used in
> this case).
>
> Can you also run ltrace on atop and supply the last 100 lines of the
> ltrace output?
>