Wireshark-commits: [Wireshark-commits] master-1.12 f96b215: Fix a few issues reported by PVS-Studio

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 12:30:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f96b21517df06bb2de9793135f11628363cab24e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

f96b215 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Fix a few issues reported by PVS-Studio
    
    See http://www.viva64.com/en/b/0328/ for details
    
    Change-Id: I40371db5972ba6ae707116052462f8d1de98c5c4
    Reviewed-on: https://code.wireshark.org/review/12789
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  55a02a0   Copy PTK key in its dedicated array, and not at the address of the array
    adds  f96b215   Fix a few issues reported by PVS-Studio


Summary of changes:
 epan/crypt/airpdcap.c                       |    2 +-
 plugins/ethercat/packet-ethercat-datagram.c |    4 ++--
 plugins/unistim/packet-unistim.c            |    6 ++++--
 ui/gtk/sctp_byte_graph_dlg.c                |    1 -
 4 files changed, 7 insertions(+), 6 deletions(-)