Wireshark-commits: [Wireshark-commits] master 64c0678: Again, we need a separate pointer to advance

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2015 04:36:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=64c06785ea90fb37c97fc323f62bee0892107d50
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

64c0678 by Guy Harris (guy@xxxxxxxxxxxx):

    Again, we need a separate pointer to advance through the buffer.
    
    In this case, sometimes we step through the buffer and sometimes we
    don't, so we always use strlen(); use a separate pointer when we're
    stepping through the buffer.
    
    Change-Id: Id69898760b4c255146c6eae0ab44c1d358c9ccbd
    Reviewed-on: https://code.wireshark.org/review/7425
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  9ac60ff   address_to_string routines need to remember the beginning of the buffer.
    adds  64c0678   Again, we need a separate pointer to advance through the buffer.


Summary of changes:
 epan/dissectors/packet-sna.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)