libbsd 0.5.1 causing segfault in FreeIPA

Guillem Jover guillem at
Mon Jun 10 19:16:58 PDT 2013

On Thu, 2013-06-06 at 11:31:18 -0600, Eric Smith wrote:
> The comment by Nalin Dahyabhai seems quite informative, so I'll quote it here:

> I think that spt_init's use of the passed-in value of "environ" is
> causing some trouble because when it calls spt_clearenv(), and
> spt_clearenv() ends up calling clearenv(), the value is freed before
> it's read.

Eric, I was wondering, didn't «make check» catch that on Fedora? Hmm,
checking the spec file now it would appear as if the test suite is not
being run (if no magic invokes it elsewhere), in which case it might
make sense to run the test suite at build time (the same would go
for other downstreams).


More information about the libbsd mailing list