arkarkark/copyclipper

catch a big big Bug: Infinite dead loop

Opened this issue · 0 comments

dnknn commented

The simplest ⛨Debug example

!^test!!

208_27094517
⚠If it doesn't work, Disable Copy Clipper first, then restart Copy Clipper.
Finally, when you copy "test", you will find it loops endlessly.

Bug


!^https://[^/]*\.google\.[^/]*/url\?q=([^&]*).*!$1!u
☝The above is the example you provided. Ok, we decoding RegExp, e.g

https://117.google.com/url?q=

Then copy it ☝, At this moment, Bug is coming.... Infinite dead loop ♻....

I want to try to test the usage of !u, but I found that it will loop indefinitely and enter a dead end.

0714024641

This is a big big big 🐞, Check to see what is causing the defect...