summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2013-03-07 16:51:25 +0000
committerTom Lane2013-03-07 16:51:25 +0000
commitf85e3f37625745bee9df9e9a4cc809f64fec9828 (patch)
tree8f736357c5a3a4edc9ad33baaea36e08d8ed3380 /doc/src
parent7140cef24064ea43e1b6de2c5d45b5c0d95d5e16 (diff)
Fix infinite-loop risk in fixempties() stage of regex compilation.
The previous coding of this function could get into situations where it would never terminate, because successive passes would re-add EMPTY arcs that had been removed by the previous pass. Rewrite the function completely using a new algorithm that is guaranteed to terminate, and also seems to be usually faster than the old one. Per Tcl bugs 3604074 and 3606683. Tom Lane and Don Porter
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions