Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix infinite loop in case of errors or when skipping sub #3513

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

vladpaiu
Copy link
Member

Summary
Fix infinite loop in case of errors or when skipping sub

Details
Fix infinite loop in case of errors or when skipping sub

Solution
Fix infinite loop in case of errors or when skipping sub

Compatibility
Backwards compatible

Closing issues

@vladpaiu vladpaiu added the bug label Nov 13, 2024
@vladpaiu vladpaiu added this to the 3.6-dev milestone Nov 13, 2024
@liviuchircu
Copy link
Member

liviuchircu commented Nov 13, 2024

Good catch @vladpaiu,

While your suggested commit does fix the problem, it seems to further complicate that looping logic. Could you please see if the below alternate patch also gets the job done on your setup? Apply it with:

git apply <(base64 -d <<EOF | gzip -dc
H4sIACa+NGcAA71Ua2/aMBT9DL/iqh8qIIRHS3iM0W2d+qFSN1V9aJo0KTKJAx7BiWKTFa3977vX
Doy29LGuG4qI7dx7fX3O8QlFFIHrToQG1pwn4SLmqslzLrWfJQst5KTJx5kfMs0aAYyfDCkLGfIr
CKMBG/d6Hus1Gv3+/rgVee3Ag3ar1e10yq7rPmO3suM4z9nx/XtwOz2vPgCHXn3ABSE1yESLaOlT
pFqMVZCJVItEqgrQkikHNZ7XgefCT1nG5srHFTuqlqEMpWYNgikPZqCnHI4Oz2CzEOCjp0KBLcVk
CCxN46UJjkSseaag1sQymOWnGc9hBJ8vT06GZdcsSX6lN5aiJIMK7TDiuXtAO8GQpvbfFBjhoI6h
xY9iV4XerQZvKjiimXtgplS+ClX4WXaevQVsVrapmx2viw8NSgRTKFTAshD4VSoyHt4CqkChJCKo
mFQb9Ha+9LWYc6pPHHqtHpLneK1uvfdaHBqYgkSiZhZ8CNjojPMUhKVLZ0swR6I2iiZLpRvzujEw
Y0LG50nODam32Mdwt/QQLI6pgdkLGQs5ow2L8gUIBuvqGnWbZ2v4BbIYzGPFYU3V5lcD2F4bkXK8
9qDefUXRm0Mv5H0Zl+ZM43WgRtok2PsixhgrMZs3Moisagxhlb+7WwTgWhFpXwUMpAhYIRgnyQyo
KvWDXYPpFX4IPbWkMOROMkuggWWwR17g9QevrKOTT/7R2VllJ2IiRonrBBRHFX1PxpALBsenH/Hi
zESaokE1Go1vcqc6LFLVdO5HGecVDF4tWoU9IrE6MEXKCZiEMX7OxGTC6XIlEl3GZkMNZ3wtYLf0
hCS3avLPRPmEKrudPsHf7exbK84TERqUqUd078pCKjGReAwiRotgpuomqGaZ/S3Ch61X3fFee44t
NrvNZ/+H0b7MaVfJj3ktAUMig5zFCCzZmEQwvnw4vthquobbwnejmE3ULoLpn18envsXX0+PfEqs
jkYtuL6GDXM+KMwZqpbU/h55c7fXtVbzAlLvOfH6BpuT3vVW68HwVy78jz34F0U7xaY8CQAA
EOF
)

opensips-3.6-event-routing-fix-loop-continues.PATCH

@liviuchircu liviuchircu self-assigned this Nov 13, 2024
@liviuchircu liviuchircu modified the milestones: 3.6-dev, 3.4.10 Nov 13, 2024
@liviuchircu liviuchircu merged commit 2bc77a5 into OpenSIPS:master Nov 15, 2024
35 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants