Overview
| Artifact ID: | 813bd6d24d0106b7f52bbcbb9777b2c0a98a21f25f9bba1c039f9a97bf13db7b |
|---|---|
| Ticket: | 7c64aa5e1a633176212261d21419d93a8a597347
Another uninitialized-variable bug in BRE-mode parsing |
| User & Date: | tgl on 2021-02-19 03:51:08 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
It turns out that the bug reported in ticket 1dab713a3808489ef0a23be683b3d2058fbd3f27 has a sibling. % regexp -inline {(?b).\{1,10\}} {abcdef} a The correct result to that is "abcdef", but the quantifier is being read as non-greedy. The fix is to change "RET('}')" to "RETV('}', 1)" in next(). See also https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b5a66e7353ba65c11c5fc6a79b72213bde8dbe44 - foundin changed to: "8.6.10"
- is_private changed to: "0"
- login: "tgl"
- priority changed to: "5 Medium"
- private_contact changed to: "26864b65f1c6ce8bda86f87ed9c554e19ac0390d"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "tgl"
- subsystem changed to: "43. Regexp"
- title changed to:
Another uninitialized-variable bug in BRE-mode parsing
- type changed to: "Bug"