P1sec / pycrate

A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
GNU Lesser General Public License v2.1
381 stars 132 forks source link

mobile: fix GSM SIB2 decode of Range256 BAList #152

Closed jewalt closed 2 years ago

jewalt commented 2 years ago

Since there are spare bits in the BA list for Range256 and Range128, be sure to only try and decode for the number of elements that should be there.

closes: 151