[Bug 278430] Error in operator precedence in Heimdal LDAP code

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Apr 2024 12:22:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278430

            Bug ID: 278430
           Summary: Error in operator precedence in Heimdal LDAP code
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: andrew@rinet.ru

Created attachment 250047
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250047&action=edit
Correcting patch

Base system does not build with WITH_OPENLDAP defined due to incorrect
understanding of C language operator precedence: suffix [] has higher
precedence than prefix () as any right-associating operator.

Solution: apply the patch attached.

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