Wireshark-commits: [Wireshark-commits] master 7be7320: BTL2AP: compare strings with strcmp, not mem
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 21 Sep 2016 11:21:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7be73201a044e8228de8e91a5f8708ebcd761015
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7be7320 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    BTL2AP: compare strings with strcmp, not memcp
    
    Otherwise a string shorter than 7 characters will trigger an out of bounds access
    
    Bug: 12825
    Change-Id: I54a7909d74838dcb56583374e5753f877ff74fe2
    Reviewed-on: https://code.wireshark.org/review/17826
    Reviewed-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
    

Actions performed:

    from  c2c8dc3   [Diameter AVPs] Correct 3GPP AVPs 1655. 1656 531 and 532
    adds  7be7320   BTL2AP: compare strings with strcmp, not memcp


Summary of changes:
 epan/dissectors/packet-btl2cap.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)