Wireshark-commits: [Wireshark-commits] master-1.10 a3a6e40: Fix corruption when saving to a pcapng

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 13 Jun 2014 20:10:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a3a6e4061be6e9d37e70ec3857d01c7449105e04
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

a3a6e40 by Bill Meier (wmeier@xxxxxxxxxxx):

    Fix corruption when saving to a pcapng file if number of name resolution entries exceeds max NRB block size.
    
    Specifically: When saving to a pcapng file,
    an incorrect name resolution block (NRB) length was written
    if the number of name resolution entries to be written was larger than
    the maximum number of entries which could fit into a single NRB block.
    
    Fixes Bug #10145.
    
    Change-Id: I0fab0f01f94045f85e8b471381dbe7b4d6c2c852
    Reviewed-on: https://code.wireshark.org/review/2199
    Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
    

Actions performed:

    from  bbdbde2   Add back "Fix switch case on ExpandedNodeId encoding mask"
    adds  a3a6e40   Fix corruption when saving to a pcapng file if number of name resolution entries exceeds max NRB block size.


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