Wireshark-commits: [Wireshark-commits] master a1e5a15: wslua: fix NSTime:__tostring for negative va
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 25 May 2018 12:50:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a1e5a157802428cee7c01ada4def7c818ebfea82
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a1e5a15 by Peter Wu (peter@xxxxxxxxxxxxx):

    wslua: fix NSTime:__tostring for negative values
    
    "nstime_t{A, B}" is defined as "A + B * 10^9" rather than an integer
    part A and fractional part B.
    
    Bug: 14720
    Change-Id: I5321db7d5ecea8f976291d2a22667b02162194e2
    Reviewed-on: https://code.wireshark.org/review/27775
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  b078310   Qt: fix use-after-free on error while saving exported packets
    adds  a1e5a15   wslua: fix NSTime:__tostring for negative values


Summary of changes:
 epan/wslua/wslua_nstime.c | 32 ++++++++++++++++++++++++++++++--
 test/lua/nstime.lua       |  9 ++++++++-
 2 files changed, 38 insertions(+), 3 deletions(-)