[systemd-devel] [PATCH] journald: fix assertion failure in ellipsize_mem()

Lennart Poettering lennart at poettering.net
Thu Jul 19 15:14:37 PDT 2012


On Thu, 19.07.12 21:12, Eelco Dolstra (eelco.dolstra at logicblox.com) wrote:

> When showing the journal through "journalctl --no-pager", if the
> prefix of the log message (i.e. the date and syslog identifier) is
> less than 3 characters shorter than the width of the terminal, you
> get:
> 
> Assertion 'new_length >= 3' failed at src/shared/util.c:3859, function ellipsize_mem(). Aborting.
> 
> because there is not enough space for the "...".  This patch add the
> necessary check.

Applied!

Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list