[all-commits] [llvm/llvm-project] 27c4ea: [libc++] Validate the entire regex is consumed

mordante via All-commits all-commits at lists.llvm.org
Sat Nov 9 08:03:08 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27c4eaac8c066eb1f7c5ad26c6fbc3e78eded778
      https://github.com/llvm/llvm-project/commit/27c4eaac8c066eb1f7c5ad26c6fbc3e78eded778
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2019-11-09 (Sat, 09 Nov 2019)

  Changed paths:
    M libcxx/include/regex
    M libcxx/src/regex.cpp

  Log Message:
  -----------
  [libc++] Validate the entire regex is consumed

This change would have warned about the bug found in D62451.
No unit tests since the exception should never throw.

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




More information about the All-commits mailing list