[all-commits] [llvm/llvm-project] 72ce0c: [libc++][regex] Validate backreferences in the con...

mordante via All-commits all-commits at lists.llvm.org
Thu Feb 20 15:21:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72ce0c8073bc8dfa109d25a3c5f245ee0285568c
      https://github.com/llvm/llvm-project/commit/72ce0c8073bc8dfa109d25a3c5f245ee0285568c
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M libcxx/include/regex
    M libcxx/test/std/re/re.regex/re.regex.construct/bad_backref.pass.cpp

  Log Message:
  -----------
  [libc++][regex] Validate backreferences in the constructor.

This patch enables throwing exceptions for invalid backreferences
in the constructor when using the basic, extended,  grep, or egrep grammar.

This fixes bug 34297.

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




More information about the All-commits mailing list