libbsd 0.5.1 causing segfault in FreeIPA

Eric Smith spacewar at gmail.com
Tue Jun 11 15:04:49 PDT 2013


Hi Guillem!

I hadn't noticed that libbsd has "make check".  However, I just added
it and tried it with both 0.5.1 (unpatched) and 0.5.2, and neither
failed the check on my system (Fedora 19 Beta x86_64).

Thanks!
Eric

On Mon, Jun 10, 2013 at 8:16 PM, Guillem Jover <guillem at hadrons.org> wrote:
> 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).
>
> Thanks,
> Guillem


More information about the libbsd mailing list