[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] [PATCH] libacl: fix SIGSEGV of getfacl -e on overly long
From: |
Kamil Dudka |
Subject: |
Re: [Acl-devel] [PATCH] libacl: fix SIGSEGV of getfacl -e on overly long group name |
Date: |
Fri, 1 Nov 2013 16:23:02 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.32-425.el6.x86_64; KDE/4.3.4; x86_64; ; ) |
On Friday 01 November 2013 14:05:50 Andreas Grünbacher wrote:
> 2013/11/1 Kamil Dudka <address@hidden>:
> > In this case, the trigger is a long group name. How can we exercise this
> > without creating the group on the system?
>
> Does glibc provide a mechanism for faking a group name? I think not.
> Theoretically, a preloaded shared library would work as well.
>
> > I thought the test-suite is not supposed to change anything
> > system-wide...
>
> Are you running the root tests as part of the package build?
Only if the build runs under the root user, which is not the case of our
production builds. Additionally, the packages are built in a chroot, so
the user creation is not visible from outside anyway.
To sum up, the current test does not cause any problems I would know of.
I was only asking whether it would not change the spirit of the test-suite.
Kamil