-
Notifications
You must be signed in to change notification settings - Fork 20
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 CPC deserialization #86
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #86 +/- ##
==========================================
+ Coverage 61.78% 65.68% +3.90%
==========================================
Files 14 14
Lines 1748 1740 -8
==========================================
+ Hits 1080 1143 +63
+ Misses 668 597 -71 ☔ View full report in Codecov by Sentry. |
This does not seem to be raising value error:
First byte of the response from router cli happens to match just for reference a normal response from router does echo command back:
|
Hmm, that's different from what I thought the error was. Do you mean that with this patch, the infinite loop still happens? |
I hadnt noticed the echoed cpc bytes previously. yes, it still hitting infinite loop in most cases. Occasionally a random log message is received that correctly triggers |
Can you disable the local echo? // <q SL_CLI_LOCAL_ECHO> Enable local echo
// <i> Default: 1
// <i> If enabled, what is written in the terminal will be echoed back, so the
// <i> user will see what is written.
#define SL_CLI_LOCAL_ECHO 1 |
sure, I will try. |
ok, it works with local echo disabled. |
Found in f37bde1.
Ping @tl-sl