Wireshark-commits: [Wireshark-commits] master-1.10 8e87560: mrcpv2: don't use an uninitialized buff

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 29 Sep 2014 00:43:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8e87560a81d28def8a8a33c59407231e8a1cc7ef
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

8e87560 by Evan Huus (eapache@xxxxxxxxx):

    mrcpv2: don't use an uninitialized buffer as a string
    
    I have no idea what the original intent was with this magical
    otherwise-totally-unused buffer, but it clearly serves no purpose now. Stop
    reading garbage from it, and just read the data in the packet which is what the
    field name suggests.
    
    Bug: 10510
    Change-Id: I05d0b98c04e59ea70247811168c4c8a64861f43d
    Reviewed-on: https://code.wireshark.org/review/4354
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  79491cc   [Automatic manuf, services and enterprise-numbers update for 2014-09-28]
    adds  8e87560   mrcpv2: don't use an uninitialized buffer as a string


Summary of changes:
 epan/dissectors/packet-mrcpv2.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)