Closed chowette closed 4 years ago
I did find the root cause;
some rotable are not ended by the necessary
{ LNILKEY, LNILVAL }
I will prepare a patch soon.
Fantastic, thanks a lot for your PR!
I have added a better PR no more based on master branch. should be easier to apply
The # operator return the total number of elements in a rotable, counting both the array part ( as expected) and the dictionary part ( which is unexpected )
See for example :
return 13 even if the net rotable contains no integer keys.
There is in fact 12 keys with function or rotable
This is can even lead to some crash, because it can even confuse
pairs()
oripairs()
for exemple with thenet.wf.mode
ornet.wf.auth
rotableAnd this code loops forever with some non-sens number as key
And this code crash the ESP