Wireshark-commits: [Wireshark-commits] master-2.0 f387aa3: ws80211: Disable shorten-64-to-32.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 1 Dec 2015 01:20:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f387aa3a5252c8e97caa5557f3c4dd2f2bc9704b
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

f387aa3 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    ws80211: Disable shorten-64-to-32.
    
    Disable shorten-64-to-32 in ws80211_create_on_demand_interface,
    which calls NLA_PUT_STRING, which passes the output of strlen to an
    int parameter. NLA_PUT_STRING is defined in netlink/attr.h so there's
    not much we can do to fix it directly.
    
    Suppress -Wpragmas before suppressing warnings in gcc so that we can
    use DIAG_OFF with clang-only warnings.
    
    Change-Id: I1180950edd93c056b8fbfbed164e482024aee90a
    Reviewed-on: https://code.wireshark.org/review/12314
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit b8f90de70efa2d271274fbb48df12737f6eddd12)
    Reviewed-on: https://code.wireshark.org/review/12320
    

Actions performed:

    from  0cb1216   SpeexDSP: Work around self assignments.
    adds  f387aa3   ws80211: Disable shorten-64-to-32.


Summary of changes:
 caputils/ws80211_utils.c |    3 +++
 wsutil/ws_diag_control.h |   12 +++++++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)