Re: [Boost-bugs] [Boost C++ Libraries] #12577: Null reference in pair.hpp triggers runtime warning with -fsanitize=undefined

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12577: Null reference in pair.hpp triggers runtime warning with -fsanitize=undefined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-12 23:20:40


#12577: Null reference in pair.hpp triggers runtime warning with
-fsanitize=undefined
-------------------------------+------------------------
  Reporter: antoinep92@… | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: container
   Version: Boost 1.62.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+------------------------
Changes (by igaztanaga):

 * status: new => closed
 * resolution: => fixed

Comment:

 Thanks for the report.

 The null value is never used, but sanitizers should work. A workaround was
 pushed and I confirmed it with GCC 6.2 and -fsanitize=address:

 https://github.com/boostorg/container/commit/77f5d7218da42db37b4fecc97f7c389a9e6b9cd4

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12577#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC