Wireshark-commits: [Wireshark-commits] master-1.12 949cca0: rtsp: parse the correct token for the s

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 16 Aug 2014 18:01:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=949cca0810f7ed2f92adc16c57d2e4badb10a6a4
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

949cca0 by Evan Huus (eapache@xxxxxxxxx):

    rtsp: parse the correct token for the status code
    
    Don't call get_token_len on next_token *and* pass in next_token to store the
    subsequent pointer - the token we want to parse is the *current* value of
    next_token, not the next next token (which may be beyond the end of the buffer,
    if next_token happens to be the *last* token).
    
    Bug: 10381
    Change-Id: I9fb27e8bdaf2f9556f61841de30cec04b98ffb96
    Reviewed-on: https://code.wireshark.org/review/3663
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    (cherry picked from commit 73959159dbf34b4a0b50fbd19e05cb1b470be9b0)
    Reviewed-on: https://code.wireshark.org/review/3664
    

Actions performed:

    from  6c73bc5   Don't let the user enable echld and tfshark (which are works in progress) in this branch.
    adds  949cca0   rtsp: parse the correct token for the status code


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