DirkDuesentrieb / fgsniffer

Convert Fortigates "diagnose sniffer" output to pcap files
GNU General Public License v3.0
34 stars 7 forks source link

Unexpected error: panic: runtime error: slice bounds out of range [:39] with length 30 #4

Open djzoidberg opened 2 years ago

djzoidberg commented 2 years ago

Hello, using your very useful tool I'm facing this issue when I try to convert a "capture" around 40MB. I don't really know if the capture is compromised but the output file/s after the conversion are smaller than the original file/s.

This error is logged every time: panic: runtime error: slice bounds out of range [:39] with length 30

goroutine 1 [running]: main.main() C:/Users/heilemannd/OneDrive - SPIEGEL-Gruppe/Documents/Development/go/src/github.com/DirkDuesentrieb/fgsniffer/main.go:121 +0xd73