Skip to content

Commit

Permalink
[reassembler] pcap: don't die due to wrong frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Feb 22, 2025
1 parent 4e7288f commit e8ae8e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iridiumtk/reassembler/ida.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,9 @@ def gsmwrap(self,q):

fchan, foff = channelize(freq)

if fchan < 0: # Can happen if frequencies are off
fchan += 0x2000

# GSMTAP:
#
#struct gsmtap_hdr {
Expand Down

0 comments on commit e8ae8e7

Please sign in to comment.