Wireshark-commits: [Wireshark-commits] master af12e33: Change Lua's tvbrange:*int64() to read only

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Jul 2015 13:41:07 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=af12e335093dc913cd9ec0e9efe5bceba071cfd1
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

af12e33 by Cédric Delmas (cedricde@xxxxxxxxxx):

    Change Lua's tvbrange:*int64() to read only the number of bytes specified in
    the range.
    
    Previously the length was ignored and 8 bytes were always read.
    
    The constraint on int64() and le_int64() becomes stricter to match int()'s ones:
    the range must be 1, 2, 4 or 8 octets long.
    
    Change-Id: Ic66798757564ac840c332b978effb418726a654c
    Reviewed-on: https://code.wireshark.org/review/9622
    Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    

Actions performed:

    from  3a78901   Rpathify references to Qt frameworks separately from references to libraries.
    adds  af12e33   Change Lua's tvbrange:*int64() to read only the number of bytes specified in the range.


Summary of changes:
 epan/wslua/wslua_tvb.c |   64 ++++++++++++++++++++++++++++++++++--------------
 1 file changed, 46 insertions(+), 18 deletions(-)