OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/8918
Full headers

From: dcb314@hotmail.com
Subject: sasl.c:326: possible bad assignment ?
Compose comment
Download message
State:
0 replies:
1 followups: 1

Major security issue: yes  no

Notes:

Notification:


Date: Sat, 22 Sep 2018 10:11:36 +0000
From: dcb314@hotmail.com
To: openldap-its@OpenLDAP.org
Subject: sasl.c:326: possible bad assignment ?
Full_Name: David Binderman
Version: 2.4.46
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (79.65.83.114)


sasl.c:326:6: warning: equality comparison result unused [-Wunused-comparison]

view +326 openldap/openldap-2.4.46/servers/slapd/sasl.c

Source code is

        if ( !conn ) {
                rc == LDAP_SUCCESS;
                goto done;
        }

Suggest new code

        if ( !conn ) {
                rc = LDAP_SUCCESS;
                goto done;
        }

Followup 1

Download message
Date: Wed, 26 Sep 2018 13:01:56 -0700
From: Quanah Gibson-Mount <quanah@symas.com>
To: dcb314@hotmail.com, openldap-its@OpenLDAP.org
Subject: Re: (ITS#8918) sasl.c:326: possible bad assignment ?
--On Saturday, September 22, 2018 11:11 AM +0000 dcb314@hotmail.com wrote:

> Full_Name: David Binderman
> Version: 2.4.46
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (79.65.83.114)

Thanks for the report, this has been fixed.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>



Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org