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
Infinite loop when a requested package does not exist.
Description
Due to the internal logic used when fetching a package, specifically when calling writePackage method, if the requested package does not exist, there is no error, and filename is empty, causing another call to writePackage repeating the cycle, causing an infinite loop.
Your environment
Linux pop-os 6.2.6-76060206-generic x86_64 GNU/Linux
branch that causes this issue (with the commit hash): master: cc6d351
Infinite loop when a requested package does not exist.
Description
Due to the internal logic used when fetching a package, specifically when calling
writePackage
method, if the requested package does not exist, there is no error, andfilename
is empty, causing another call towritePackage
repeating the cycle, causing an infinite loop.Your environment
Steps to reproduce
Draft PR with the failing case: #834
Expected behavior
Do not create an infinite loop
Actual behavior
It is looping until OOM or stack overflow.
CC @harry-hov
The text was updated successfully, but these errors were encountered: