Ticket #2231 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

mcedit goes to endless loop when trying to replace \n regexp with any substring

Reported by: Nikolay Shaplov <n at shaplov dot ru> Owned by: andrew_b
Priority: major Milestone: 4.7.3
Component: mcedit Version: 4.7.0.5
Keywords: Cc: zaytsev
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master committed-stable

Description

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584241

Go to the mcedit, create some text with several lines in it, press F4,
enter \n into "Enter search string:" and chose "Regular expression".
Press All in " Confirm replace" dialog.

Now you will have to kill your mcedit, as it will do repacing forever.

Change History

comment:1 Changed 14 years ago by andrew_b

  • Cc zaytsev added

comment:2 Changed 14 years ago by andrew_b

  • Keywords stable-candidate added

Created 2231_edit_replace_all branch. Parent branch is master.
Initial changeset:2ed4267ef09f058ab1dc9653564c0eb716de8029

comment:3 Changed 14 years ago by andrew_b

  • severity changed from no branch to on review

comment:4 Changed 14 years ago by angel_il

  • Votes for changeset set to angel_il

comment:5 Changed 14 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted

comment:6 Changed 14 years ago by andrew_b

  • Milestone changed from 4.7 to 4.7.3

comment:7 Changed 14 years ago by slavazanko

  • Votes for changeset changed from angel_il to angel_il slavazanko
  • severity changed from on review to approved

comment:8 Changed 14 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from angel_il slavazanko to committed-master committed-stable
  • Resolution set to fixed
  • severity changed from approved to merged

Merged to master.
changeset:aacc4f371cdf01004be72f023be3d305ffe1ce43

Cherry-picked to 4.7.0-stable.

git log --pretty=oneline 374ccc9^..e8fdc7c

comment:9 Changed 14 years ago by andrew_b

  • Status changed from testing to closed

comment:10 Changed 14 years ago by zaytsev

  • Keywords stable-candidate removed
Note: See TracTickets for help on using tickets.