[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gsasl 1.6.2
From: |
Bruno Haible |
Subject: |
Re: gsasl 1.6.2 |
Date: |
Fri, 25 Nov 2011 02:54:03 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Simon Josefsson wrote:
> > AIX 7.1
> >
> > out of memoryout of memorySelf test `./readnz' finished with 2 errors
> > FAIL: readnz
>
> Here malloc returned NULL
This rings a bell. AIX is one of the platforms for which malloc (0) returns
NULL. Apparently you are calling malloc(0) or realloc(p,0) or calloc(0,n)
somewhere. The fix will be to review all malloc, realloc, calloc calls.
A temporary workaround can be to add the modules 'malloc-gnu', 'realloc-gnu',
'calloc-gnu' to the list of gnulib modules imported by gsasl. Actually
'calloc-gnu' is not needed; I just checked all calloc() calls.
Bruno
--
In memoriam Melanie Thornton <http://en.wikipedia.org/wiki/Melanie_Thornton>