Wireshark-commits: [Wireshark-commits] master 28960d7: netmon: Initialize struct netmonrec_comment
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Feb 2018 09:23:04 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=28960d79cca262ac6b974f339697b299a1e28fef
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

28960d7 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    netmon: Initialize struct netmonrec_comment on alloc
    
    This avoids an illegal pointer to free() on error.
    
    Bug: 14397
    Change-Id: Id6e535141c7a3ee7b3d1822875b571e2199a5387
    Reviewed-on: https://code.wireshark.org/review/25660
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  7ee8ead   Include as "ui/summary.h", as is done elsewhere.
    adds  28960d7   netmon: Initialize struct netmonrec_comment on alloc


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