Wireshark-commits: [Wireshark-commits] master-2.2 a55b36c: gsm_a_dtap: fix off-by-one buffer overfl
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a55b36c51f83a7b9680824e8ee3a6ce8429ab24b
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
a55b36c by Peter Wu (peter@xxxxxxxxxxxxx):
gsm_a_dtap: fix off-by-one buffer overflow (write)
The output buffer needs one more byte for the string terminator.
Bug: 14688
Change-Id: I7d606aa8fb769fd65ba894f0472ada3543a1e3cd
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6420
Reviewed-on: https://code.wireshark.org/review/27539
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 48fac2a18debb2969413e03f3d88bbb9c31500ae)
Reviewed-on: https://code.wireshark.org/review/27560
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from ab8a33e tvbuff: make tvb_bytes_exist fail with negative values
adds a55b36c gsm_a_dtap: fix off-by-one buffer overflow (write)
Summary of changes:
epan/dissectors/packet-gsm_a_dtap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)