Wireshark-commits: [Wireshark-commits] master a66714b: Fix Buffer overrun while writing to 'airpcap

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 2 Jul 2015 03:54:33 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a66714bbad67f92e47f8b5fd5feca5743b10c258
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a66714b by AndersBroman (a.broman@xxxxxxxxxxxx):

    Fix Buffer overrun while writing to 'airpcap_dir_utf16':  the writable
    size is '520' bytes, but '1042' bytes might be written.
    
    Change-Id: Ic88bc977011eff9ae3c2a4a5ba717e78dbb1171c
    Reviewed-on: https://code.wireshark.org/review/9452
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  ae5172f   Try to fix warning C6340: Mismatch on sign: 'short' passed as _Param_(2) when some unsigned type is required in call to 'printf'.
    adds  a66714b   Fix Buffer overrun while writing to 'airpcap_dir_utf16':  the writable size is '520' bytes, but '1042' bytes might be written.


Summary of changes:
 caputils/ws80211_utils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)