Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-145778

Bug 123895 - Better error reporting for std::regex

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • 1
    • rhel-pt-cpp-libs
    • PT C++ Libraries Pending
    • 5
    • False
    • Hide

      None

      Show
      None
    • None

      https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123895

      Acceptance Criteria:
      Evaluate and decide whether to implement some or all of the following:

      • Catch memory errors:
        • bad_alloc during regex execution and throw regex_error with error_stack code.
        • bad_alloc during NFA construction and throw regex_error with error_space code.
      • Include actual problematic value in error message (e.g., "value 999999999999 exceeds INT_MAX")          
      • Implement error_complexity with regex executor by monitoring execution steps, ensuring it scales with input size     

              Unassigned Unassigned
              araghuku Alekya Raghukula
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: