Crash was possible if match() method
was called on object that was moved or object
created with empty constructor.
Testcases updated.
Paths
| Differential D24123
[Support] - Fix possible crash in match() of llvm::Regex. ClosedPublic Authored by grimar on Sep 1 2016, 3:45 AM.
Details Summary Crash was possible if match() method Testcases updated.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 1 2016, 3:20 PM Closed by commit rL280473: [Support] - Fix possible crash in match() of llvm::Regex. (authored by grimar). · Explain WhySep 2 2016, 1:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 69977 include/llvm/Support/Regex.h
lib/Support/Regex.cpp
unittests/Support/RegexTest.cpp
|
I moved it here because need to assign REG_BATPAT and dont want include "regex_impl.h" to .h file.