You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.
I had the scan process get stuck while processing binaries. If I stopped and restarted it would get stuck in the same spot every time.
I added a whole bunch of debug statements into the code and determined that it was stuck on one particular regular expression. By stuck, I mean several hours stuck before I decided to kill the process.
I added some timeout code around the regex search and it really got things moving again. Considering that a bad regex could cause this issue at any time I think a timeout is a good idea, but the code I have it pretty UNIX specific (using signals and what not), and doesn't support windows.
Is windows support for pynab important to keep? I could work on a solution that solves for both but am unable to test, would someone be able to test on windows?
Anyone have a better solution?
The text was updated successfully, but these errors were encountered:
I had the scan process get stuck while processing binaries. If I stopped and restarted it would get stuck in the same spot every time.
I added a whole bunch of debug statements into the code and determined that it was stuck on one particular regular expression. By stuck, I mean several hours stuck before I decided to kill the process.
I added some timeout code around the regex search and it really got things moving again. Considering that a bad regex could cause this issue at any time I think a timeout is a good idea, but the code I have it pretty UNIX specific (using signals and what not), and doesn't support windows.
Is windows support for pynab important to keep? I could work on a solution that solves for both but am unable to test, would someone be able to test on windows?
Anyone have a better solution?
The text was updated successfully, but these errors were encountered: