diff options
author | Evan Huus <eapache@gmail.com> | 2013-04-26 19:23:36 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-04-26 19:23:36 +0000 |
commit | 5b8a3df249f8bca8cbb166b88c0dd0c534f90e82 (patch) | |
tree | 594afabdce52037e097d59c7e096bdeb9674413e /epan/dissectors/packet-goose.c | |
parent | 63ef04ec84bc7bee9008be686e2e362058229643 (diff) |
From me: only sign-extend BER integers if the field is actually signed
From Guy: override two fields in the GOOSE ASN.1 dissector to be unsigned
Together these fix
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8250
svn path=/trunk/; revision=49055
Diffstat (limited to 'epan/dissectors/packet-goose.c')
-rw-r--r-- | epan/dissectors/packet-goose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-goose.c b/epan/dissectors/packet-goose.c index 63db342ec6..c3f0042a91 100644 --- a/epan/dissectors/packet-goose.c +++ b/epan/dissectors/packet-goose.c @@ -922,11 +922,11 @@ void proto_register_goose(void) { "UtcTime", HFILL }}, { &hf_goose_stNum, { "stNum", "goose.stNum", - FT_INT32, BASE_DEC, NULL, 0, + FT_UINT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_goose_sqNum, { "sqNum", "goose.sqNum", - FT_INT32, BASE_DEC, NULL, 0, + FT_UINT32, BASE_DEC, NULL, 0, "INTEGER", HFILL }}, { &hf_goose_test, { "test", "goose.test", |