Wireshark-commits: [Wireshark-commits] master-2.0 295397b: [IMF] Add bounds checks to avoid buffer
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 12 Nov 2015 11:30:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=295397b3f35a904d5b987c90135faf56651bb4ed
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

295397b 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>
    (cherry picked from commit 56c1e80508f73b244c12b537223e777a253395f7)
    Reviewed-on: https://code.wireshark.org/review/11765
    

Actions performed:

    from  2309a2d   Fix up documentation of RPM packages.
    adds  295397b   [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(-)