-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
console command crashes EMS-ESP #841
Comments
I'm not sure what is the best fix. Lines 228 to 231 in d08a122
It does not crash if we return the empty string instead. The crash happens with nullptr here: Line 253 in d08a122
in this strcmp: Line 280 in d08a122
We can check for nullptr or use std::string instead of const char* (like in is_readonly here: Line 636 in d08a122
But with other commandlines like Line 265 in d08a122
I think an easy fix is inserting at the start of Command::call:
and the critical (crashing) functions are not called. |
thanks for hunting that one down. Yes, the easiest fix is as you suggested. Do you mind fixing it? |
seeing similar behaviour with testing the mixer
|
Hmm.
|
I'm running from standalone simulating a mixer. Maybe that's the issue |
On 3.5.0b13 and 3.5.0-dev.14
The entire device was just restarted automatically.
Originally posted by @akanto in #773 (comment)
The text was updated successfully, but these errors were encountered: