EPL + openSAFETY: Better handling of guint in EPL
authorRoland Knall <roland.knall@br-automation.com>
Fri, 21 Feb 2014 09:02:34 +0000 (10:02 +0100)
committerEvan Huus <eapache@gmail.com>
Fri, 21 Feb 2014 16:45:31 +0000 (16:45 +0000)
commit95190e4bd6aaab1250c38de0c0c6c1f7e5cfb0f8
treed76d2467d875db62babbac07f3ff799b1db136e6
parentcaaac7e8f8277e8c735fe973ed6b6f5d3bf7efff
EPL + openSAFETY: Better handling of guint in EPL

 This is a permanent solution for bug #9786. guint overflows
 are now prevented, and the remaining length is queried from
 tvb and taken into consideration.

 As a side-effect, the fix brought up two bugs in the openSAFETY
 dissector, which where fixed as well.

 Upd: Remove stdio.h and fix one encoding error found by
 fix-encoding-args.pl

Change-Id: Ic2d478a8ea15b0bcfd2536a074c217daf610fe08
Reviewed-on: https://code.wireshark.org/review/291
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
epan/dissectors/packet-epl.c
epan/dissectors/packet-opensafety.c