[Samba] Samba 4.2.0rc4 fails to start up

Thomas Schulz schulz at adi.com
Wed Feb 11 15:18:51 MST 2015


> On Wed, Feb 11, 2015 at 03:22:15PM -0500, Thomas Schulz wrote:
> > Checking for C99 vsnprintf                      : not found 
> 
> Can you just hand-compile lib/replace/test/snprintf.c and
> paste its output? Maybe take a closer look why it fails?
> 
> That's the test we use to check whether we have to replace
> snprintf.
> 
> Volker

I went ahead and hand compiled it. It dies with a Segmentation Fault.
The problem line is:

        if (snprintf(buf, 20, "%s", 0) < 3) exit(7);

If I comment that one out then it runs OK and prints  1.

So the Solaris snprintf is most lilely not good enough.

Tom Schulz
Applied Dynamics Intl.
schulz at adi.com


More information about the samba mailing list