Overview
| Artifact ID: | 5390095040f334b9ae315609ab2dd9e0f7e28854 |
|---|---|
| Ticket: | 3610026fffffffffffffffffffffffffffffffff
A regular expression with > 32k "colors" causes a segfault |
| User & Date: | hlinnaka on 2013-04-04 16:50:39 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- comment changed to:
If a regular expression is parsed into more than 32k colors, you get a crash. I initially spotted this in PostgreSQL (http://www.postgresql.org/message-id/[email protected]), but TCL shares the same code and thus has the same bug. Attached is a TCL test script to reproduce this. Here's a link to the PostgreSQL commit that fixed this: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=bf2b0a147857f63daa2e5c17eed0169861371af8. It should apply to TCL sources with minimal changes.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hlinnaka"
- subsystem changed to: "43. Regexp"
- title changed to:
A regular expression with > 32k "colors" causes a segfault
- type changed to: "Bug"