URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d7bf8ec00f9da0db8d23a59b8136926cdae0846a
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
d7bf8ec by Pascal Quantin (pascal.quantin@xxxxxxxxx):
proto.c: do not perform bound checks in proto_tree_add_text(_valist)_internal if tvb is NULL
As seen in bug 12676, some buggy dissectors do not systematically provide a tvb when calling proto_tree_add_XXX functions.
On stable branch, let's deactivate the bound checks in that case.
Bug: 12676
Change-Id: Ia3cf0b0972c127f34feca2e097e0ec1fd1753b23
Reviewed-on: https://code.wireshark.org/review/16752
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
(cherry picked from commit 8c7ab5f2b2c18f23c1baa856e30ff8dcb0b7151c)
Reviewed-on: https://code.wireshark.org/review/17025
Actions performed:
from bdf018e [Automatic update for 2016-08-07]
adds d7bf8ec proto.c: do not perform bound checks in proto_tree_add_text(_valist)_internal if tvb is NULL
Summary of changes:
epan/proto.c | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)