Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Zero width regex match causes heap to run out of memory #44

Open
Ingramz opened this issue May 7, 2019 · 1 comment
Open

Zero width regex match causes heap to run out of memory #44

Ingramz opened this issue May 7, 2019 · 1 comment

Comments

@Ingramz
Copy link

Ingramz commented May 7, 2019

I noticed that when searching for (?=a) in find-and-replace, it's causing heap to run out of memory via scandal.

Edit by @rsese to add repro steps

  1. git clone https://github.com/atom/find-and-replace // I'm at ec58b34a
  2. atom --safe find-and-replace
  3. Project Find: Show
  4. Enable Use Regex
  5. Search for (?=a)

image

@rsese
Copy link

rsese commented May 8, 2019

Thanks @Ingramz ✌️ Reproduced on macOS 10.12.6 with 1.38.0-nightly20.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants