summaryrefslogtreecommitdiff
path: root/etc/ubsan.blacklist
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-04-13 18:12:47 -0400
committerAndrew Morrow <acm@mongodb.com>2016-04-15 10:08:39 -0400
commit5b177d096afbf77d322cbdbba5b9b5db075ca92c (patch)
tree70d919c3634c42f63c951309991e8b5083dddd6b /etc/ubsan.blacklist
parent177d955e1e47535141edfb6205ba8fd7004b2aa2 (diff)
downloadmongo-5b177d096afbf77d322cbdbba5b9b5db075ca92c.tar.gz
SERVER-16221 SERVER-23713 Blacklist subset of aggregation that has numeric UB
Diffstat (limited to 'etc/ubsan.blacklist')
-rw-r--r--etc/ubsan.blacklist7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/ubsan.blacklist b/etc/ubsan.blacklist
index f0a5d43526f..72e14191f6a 100644
--- a/etc/ubsan.blacklist
+++ b/etc/ubsan.blacklist
@@ -17,6 +17,13 @@ src:src/third_party/zlib-*/*
# See https://jira.mongodb.org/browse/WT-2402
src:src/third_party/wiredtiger/*
+# See SERVER-23713. The pipeline arith expressions and accumulators need
+# to be re-written to avoid undefined behavior.
+fun:_ZNK5mongo13ExpressionAdd16evaluateInternalEPNS_9VariablesE
+fun:_ZNK5mongo18ExpressionMultiply16evaluateInternalEPNS_9VariablesE
+fun:_ZN5mongo14AccumulatorSum15processInternalERKNS_5ValueEb
+fun:_ZNK5mongo5Value12coerceToLongEv
+
# Blacklisting these functions due to a bug in libstdc++:
# http://stackoverflow.com/questions/30122500/is-this-code-really-undefined-as-clang-seems-to-indicate
fun:_ZStaNRSt13_Ios_FmtflagsS_