Merge pull request #18 from hv92/patch-1

Add additional BDS 4,0 check
This commit is contained in:
Junzi Sun 2018-04-13 16:39:35 +02:00 committed by GitHub
commit 0b6d5576d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,12 @@ def is40(msg):
if wrongstatus(d, 27, 28, 39):
return False
if wrongstatus(d, 48, 49, 51):
return False
if wrongstatus(d, 54, 55, 56):
return False
# bits 40-47 and 52-53 shall all be zero