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

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

Commits:

e461fb3 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>
    (cherry picked from commit 148f39d900b516cac575d7de689a44545a663c70)
    Reviewed-on: https://code.wireshark.org/review/26902
    

Actions performed:

    from  45967eb   If a subdissector throws an exception, catch it and continue.
    adds  e461fb3   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(-)