ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 436100c: use the correct png chunk len the parameter

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Mar 2014 22:16:05 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=436100c66a496fe7bc7a9dd0ac41c244bc7dc52d
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

436100c by Martin Kaiser (wireshark@xxxxxxxxx):

    use the correct png chunk len
    the parameter for proto_tree_add_text() is the length, not the end offset
    
    Change-Id: Ie24d5982b7ff13363061fb087438dd714cae748a
    Reviewed-on: https://code.wireshark.org/review/837
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  482a3cd   More fiddling with heuristic.
    adds  436100c   use the correct png chunk len the parameter for proto_tree_add_text() is the length, not the end offset


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