On Jul 14, 2009, at 12:11 PM, Jeremy Duff wrote:

> I've managed to reuse some of the code in epan/dissectors/packet- 
> fr.c that hands off information to the osinl so that I could make  
> epan/dissectors/lapd.c act the same way. Everything appears to be  
> working correctly, however, I'm getting this bug and can't figure  
> out why:
>
> [Dissector bug, protocol LAPD: proto.c:2482: failed assertion  
> "(guint)hfindex < gpa_hfinfo.len"]
>       Expert Info (Error/Malformed): proto.c:2482: failed assertion  
> "(guint)hfindex < gpa_hfinfo.len"
>              Message: proto.c:2482: failed assertion "(guint)hfindex  
> < gpa_hfinfo.len"
>              Severity level: Error
>              Group: Malformed
>
> Any suggestions as to what would cause this?

Not adding fields corresponding to:

        hf_lapd_nlpid
        hf_lapd_oui
        hf_lapd_pid
        hf_lapd_snaptype

to the hf[] array in proto_register_lapd().
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to