Files
android_external_libcxx/include
Eric Fiselier 856712bda2 [libcxx] Fix PR31402: map::__find_equal_key has undefined behavior.
Summary:
This patch fixes llvm.org/PR31402 by replacing `map::__find_equal_key` with `__tree::__find_equal`, which has already addressed the same undefined behavior.

Unfortunately I haven't been able to write a test case which causes the UBSAN diagnostic mentioned in the bug report. I can write tests which exercise the UB but for some reason they do not cause UBSAN to fail. Any help writing a test case would be appreciated.


Reviewers: mclow.lists, vsk, EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28131

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291087 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-05 06:06:18 +00:00
..
2017-01-04 01:53:24 +00:00
2016-12-24 00:24:44 +00:00
2016-12-31 18:13:34 +00:00
2015-10-08 20:37:11 +00:00
2015-10-08 20:37:44 +00:00
2015-10-08 20:41:26 +00:00
2015-10-09 19:57:37 +00:00
2016-12-23 23:37:52 +00:00
2016-10-10 15:56:01 +00:00
2016-09-24 06:27:28 +00:00
2016-02-20 00:16:41 +00:00
2016-12-23 23:37:52 +00:00
2015-10-09 01:29:09 +00:00
2015-10-09 19:57:37 +00:00