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
There is a bug in enumerateDevices() on line 216 in serial.cpp.
If the System does not have serial ports str is still "" from the begining of the function and free(str) fails.
You can probably fix it with
if (strlen(str) > 0) str[strlen(str)-1] = '\0';
else return alloc_null();
value ret = alloc_string(str);
free(str);
return ret;
The text was updated successfully, but these errors were encountered:
There is a bug in enumerateDevices() on line 216 in serial.cpp.
If the System does not have serial ports str is still "" from the begining of the function and free(str) fails.
You can probably fix it with
The text was updated successfully, but these errors were encountered: