[Bug 269523] libc error with samba

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Feb 2023 03:48:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269523

            Bug ID: 269523
           Summary: libc error with samba
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: steven@freebsd-bugzilla.sdwmail.homeunix.org

on FreeBSD-CURRENT  Feb 9 build
samba413's testparm utility fails with CURRENT's libc, but succeeds with
RELEASE-13.1's libc.

testparam --supress-prompt --verbose <configfile>
success:   "Load smb config files from <configfile>
failure:   "Load smb config files from ZZZZZZZZZZZ

If you do not specify a config file, it will always succeed.   Specifying a
config file somehow translates it to 'ZZZZZZZZZZZZ' where the number of 'Z's
varies with the length of the filename.

Samba's source3/urtils/testparm.c calls get_dyn_CONFIGFILE which then calls
libc somewhere.  It has not been tracked further.

-- 
You are receiving this mail because:
You are the assignee for the bug.