Wireshark-commits: [Wireshark-commits] master f0dbb28: Throw in another tweak to check for uninitia

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 7 Dec 2016 03:20:18 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f0dbb28854346970f4329413c9bae8a212d95836
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f0dbb28 by Guy Harris (guy@xxxxxxxxxxxx):

    Throw in another tweak to check for uninitialized cops_call_t structures.
    
    Temporariy add a "magic" field, initialize it when we allocate it, and
    whenever we fetch a structure from the array, make sure the "magic"
    field has the right value.
    
    (If this all turns out to be a valgrind bug, I'm not going to be very
    happy.)
    
    Change-Id: I29becc715367fdc305504b38d48be05dc516132a
    Reviewed-on: https://code.wireshark.org/review/19128
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  451eac8   packet-rpcrdma: Prepare dissector for RPC-over-RDMA on iWARP or RoCE
    adds  f0dbb28   Throw in another tweak to check for uninitialized cops_call_t structures.


Summary of changes:
 epan/dissectors/packet-cops.c |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)