Wireshark-commits: [Wireshark-commits] master-1.10 0015de3: Allow FT_BYTES, FT_NONE, FT_STRING use

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 15 Apr 2014 19:30:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0015de33055ed3499ff022411badf7f09d7756a6
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

0015de3 by Michal Labedzki (michal.labedzki@xxxxxxxxx):

    Allow FT_BYTES, FT_NONE, FT_STRING use length "-1"
    
    All three types support zero length, so using
    -1 (aka length remaining) should be safe.
    
    (cherry picked from commit 16d45a69caf1d47e381c661ab6b2269116084e62)
    
    Conflicts:
    	epan/proto.c
    
    Change-Id: I23a7162d7023a7319f57e4bc12801f9d8dfb5ccf
    Reviewed-on: https://code.wireshark.org/review/1149
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  b7608f8   Bluetooth: ATT: Add missing offset calculations
    adds  0015de3   Allow FT_BYTES, FT_NONE, FT_STRING use length "-1"


Summary of changes:
 epan/proto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)