Skip to content

Comments

ZeroDivision Error fix in web/app.py#96

Open
jtpereyda wants to merge 1 commit intoOpenRCE:sulley_refactorfrom
jtpereyda:refactor-divide-by-zero-fix
Open

ZeroDivision Error fix in web/app.py#96
jtpereyda wants to merge 1 commit intoOpenRCE:sulley_refactorfrom
jtpereyda:refactor-divide-by-zero-fix

Conversation

@jtpereyda
Copy link
Contributor

To reproduce error:

  • Pause a test.
  • Quit Sulley.
  • Restart Sulley.
  • Load webpage and observe ZeroDivisionError on the console.

This is the same bug as pull request #82, except in the sulley_refactor branch.

Root cause note: This happens because something or other isn't initialized nicely in sessions.py when the server is paused. I can enter an issue to track this if desired.

I only saw this error when the web page somehow loaded too soon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant