Wireshark-commits: [Wireshark-commits] master 78f3b8a: BGP: Fix handling of MPLS label for RFC7432
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=78f3b8afe94fc35ccdc455bac6c3ae8b09484478
Submitter: "Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
78f3b8a by Uli Heilmeier (uh@xxxxxxxxxxxx):
BGP: Fix handling of MPLS label for RFC7432
RFC7432 defines MPLS label with a fixed size and not as a stack.
Each label has 3 bytes and we only decode the first 20 bits. The
remaining four bits are not defined. Therefore we ignore it at the
moment.
Bug: 15631
Change-Id: I27e34e91facb169b804993f2d3ac9c4a181454aa
Reviewed-on: https://code.wireshark.org/review/32578
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Actions performed:
from 9e94aab umts_fp: check number of frames before calling a subdissector.
add 78f3b8a BGP: Fix handling of MPLS label for RFC7432
Summary of changes:
epan/dissectors/packet-bgp.c | 29 +++++++++--------------------
1 file changed, 9 insertions(+), 20 deletions(-)