[all-commits] [llvm/llvm-project] b783f7: [lldb/DataFormatter] Check for overflow when findi...
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Mon May 18 13:28:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b783f70a42575a5d9147bea1ac97e872370fe55b
https://github.com/llvm/llvm-project/commit/b783f70a42575a5d9147bea1ac97e872370fe55b
Author: Vedant Kumar <vsk at apple.com>
Date: 2020-05-18 (Mon, 18 May 2020)
Changed paths:
A lldb/include/lldb/DataFormatters/Mock.h
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
M lldb/unittests/DataFormatter/CMakeLists.txt
A lldb/unittests/DataFormatter/MockTests.cpp
Log Message:
-----------
[lldb/DataFormatter] Check for overflow when finding NSDate epoch
Summary:
Fixes UBSan-reported issues where the date value inside of an
uninitialized NSDate overflows the 64-bit epoch.
rdar://61774575
Reviewers: JDevlieghere, mib, teemperor
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D80150
More information about the All-commits
mailing list