Wireshark-commits: [Wireshark-commits] master 56c1e80: [IMF] Add bounds checks to avoid buffer over

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 12 Nov 2015 11:28:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=56c1e80508f73b244c12b537223e777a253395f7
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

56c1e80 by DiablosOffens (DiablosOffens@xxxxxx):

    [IMF] Add bounds checks to avoid buffer overruns,
    also sets the last_field flag to true if it's the end of the buffer.
    
    Change-Id: I135d052fce04807ce61b5feb9af121ff4528f595
    Reviewed-on: https://code.wireshark.org/review/11731
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  7309217   Put back ' in user guide name
    adds  56c1e80   [IMF] Add bounds checks to avoid buffer overruns, also sets the last_field flag to true if it's the end of the buffer.


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