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
Instead of storing a deep copy of the result, a reference to result is stored which interferes with the in-place modification of the derivation tree: this can potentially lead to infinite recursion (which is pretty easily reproducible)
…se#130)
Instead of storing a deep copy of `super.expansion_to_children` result in
cache, a reference to `result` is stored which interferes with the
in-place modification of the derivation tree: this can potentially lead to
infinite recursion: store deep copy of result.
Closesuds-se#130
…se#130)
Instead of storing a deep copy of `super.expansion_to_children` result in
cache, a reference to `result` is stored which interferes with the
in-place modification of the derivation tree: this can potentially lead to
infinite recursion: store deep copy of result.
Closesuds-se#130
Describe the bug
Consider the following snippet:
fuzzingbook/docs/code/GrammarFuzzer.py
Lines 1233 to 1235 in 49c7194
Instead of storing a deep copy of the
result
, a reference toresult
is stored which interferes with the in-place modification of the derivation tree: this can potentially lead to infinite recursion (which is pretty easily reproducible)To Reproduce
Steps to reproduce the behavior:
Expected behavior
The snippet does not hang.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: