Wireshark-commits: [Wireshark-commits] master 148f39d: Need to flag a variable as volatile, due to

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 12 Apr 2018 02:28:52 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=148f39d900b516cac575d7de689a44545a663c70
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

148f39d by Guy Harris (guy@xxxxxxxxxxxx):

    Need to flag a variable as volatile, due to the use of exceptions.
    
    The exception mechanism is setjmp/longjmp-based, so we need to mark
    offset as volatile, otherwise the longjmp might not restore its value.
    
    Change-Id: Ib63070bbbbe1f16a93cb58aa7ee5ef2a5488df8a
    Reviewed-on: https://code.wireshark.org/review/26901
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  81f184b   If a subdissector throws an exception, catch it and continue.
    adds  148f39d   Need to flag a variable as volatile, due to the use of exceptions.


Summary of changes:
 epan/dissectors/packet-mp2t.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)