diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-05-09 12:39:21 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2018-05-09 12:29:15 +0000 |
commit | 4b6224a67326dc72e428e8f6606b8ae10059c0bd (patch) | |
tree | 98876e51bc1afa45068ea5ed75e549786c956982 /ui/qt/progress_frame.cpp | |
parent | a5e3414fc62505c6b510b8e9d2c6cced285f2807 (diff) |
proto: don't overrun buffer.
This is shown by a bunch of coverity reports all pointing at this line.
Every buffer has a ITEM_LABEL_LENGTH, but label_mark_truncated access it
at ITEM_LABEL_LENGTH (off-by-one).
CIDs:
1435461
1435462
1435465
1435466
1435471
1435472
1435477
1435481
1435483
1435484
1435485
1435489
1435492
1435500
Fixes: v1.11.3-rc1-1837-gf94674d2fb ("truncate UTF-8 strings only at the boundary between two characters")
Change-Id: I3781c36594f7db880bc9f76b64d261dbc498c0ce
Reviewed-on: https://code.wireshark.org/review/27425
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'ui/qt/progress_frame.cpp')
0 files changed, 0 insertions, 0 deletions