8b2d9f2#diff-69c6430afecc5d7ca0db7d8abb2b9e6cf974673927efb8184bdb07228b979a28R113
There seems to be a bug with the return value of valid.
A simple true tests with code 1b and 0b can be used to replicate the bug. 0b will become invalid but this is not correct. 0b should be valid AND not ok.
I think the logic should be updated to reflect the true validity of the code.
8b2d9f2#diff-69c6430afecc5d7ca0db7d8abb2b9e6cf974673927efb8184bdb07228b979a28R113
There seems to be a bug with the return value of
valid.A simple
truetests withcode1band0bcan be used to replicate the bug.0bwill becomeinvalidbut this is not correct.0bshould bevalidANDnot ok.I think the logic should be updated to reflect the true validity of the code.