Wireshark-commits: [Wireshark-commits] master 37acf43: wmem: add null-terminator support.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 22 Feb 2016 19:55:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=37acf433dbb2ef1d443c9ee09a315b0b4ce136d8
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

37acf43 by Dario Lombardo (lomato@xxxxxxxxx):

    wmem: add null-terminator support.
    
    This change makes wmem_array more similar to GArray by adding
    two functions that mimic the first two params of g_array_new().
    
    Change-Id: Iaec999cd2e44f79f44d766be5d39741b73602e5a
    Reviewed-on: https://code.wireshark.org/review/13989
    Petri-Dish: Evan Huus <eapache@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  1333235   caputils: fix crash when calling 'dumpcap -i' without having WinPcap installed
    adds  37acf43   wmem: add null-terminator support.


Summary of changes:
 epan/wmem/wmem_array.c |   27 +++++++++++++++++++++++++++
 epan/wmem/wmem_array.h |    8 ++++++++
 epan/wmem/wmem_test.c  |   10 ++++++++++
 3 files changed, 45 insertions(+)