MAJOR CLUE:
The crash only happens on files where the effective permissions are limited by 
the mask.
Using the option --no-effective, getfacl no longer crashes.

Oh, and using a shorter user/group names (still containing "unusual"
characters) does not result in a crash.

So...

It seems that the conditions for triggering this bug is:
- getfacl is outputting to an interactive terminal (no pipes or redirects)
- long user or group names are present in the ACL
- the "#effective:..." string is to be outputted along with a long user/group 
entry

This has been testing on two separate systems using different solutions
for Active Directory integration.

** Summary changed:

- getfacl: malloc(): memory corruption
+ Effective permissions and long names - getfacl: malloc(): memory corruption

** Summary changed:

- Effective permissions and long names - getfacl: malloc(): memory corruption
+ Effective permissions and long group names - getfacl: malloc(): memory 
corruption

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900304

Title:
  Effective permissions and long group names - getfacl: malloc(): memory
  corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acl/+bug/900304/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to