[kde-freebsd] konqueror crashes on ACL properties

Edward Tomasz Napierala trasz at freebsd.org
Tue Sep 1 20:38:25 CEST 2009


On 0901T1849, Markus Brueffer wrote:

[..]

> The real problem is not the kdelibs3 implementation but a regression in 
> FreeBSD introduced with the NFSv4 ACL import (rev 194955).
> 
> Before the import, acl_to_text checked if the passed acl_t was a NULL pointer 
> and aborted. Although this still happens, the original POSIX.1e function is 
> now called through a wrapper (acl_to_text_np) which determines what type of 
> ACL is being passed and in the process dereferences the passed acl_t without 
> checking if it is a NULL pointer.
> 
> The attached patch should fix this (only compile tested). Other acl functions 
> may have the same regression concerning POSIX.1e. From a very quick glance, at 
> least acl_calc_mask does, maybe others. 
> 
> trasz: Can this be fixed in time for 8-RELEASE?

I think so.  Already committed to HEAD.  Thanks for spotting this.

-- 
If you cut off my head, what would I say?  Me and my head, or me and my body?



More information about the kde-freebsd mailing list