Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
systemd-sysusers segmentation fault #1394
As reported by scole-scea on IRC,
I've spent a little time trying to isolate this, and it seems the segfault (at least it my case) is caused by long entries in /etc/gshadow.
With this example entry in gshadow, systemd-sysusers does not segfault. Add 1 more character to it and it segfaults every time.
Long entries in /etc/group do not seem to have the same effects.
@mhenniges Working on it, thanks for reporting. We've repro'd the issue easily. 615+ chars triggers it. We'll update when we have more.
#0 0x00007f62c4549266 in _IO_vfprintf_internal (s=, format=, ap=ap@entry=0x7fffd60f58f8) at vfprintf.c:1642