Wireshark-commits: [Wireshark-commits] master 94d0e08: mmdbresolve: check the return value of mallo

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Jun 2019 06:44:14 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=94d0e081c6159f3002c2eb56807a5551d541948d
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

94d0e08 by XuNiu (993273596@xxxxxx):

    mmdbresolve: check the return value of malloc
    
    The return value of malloc() is used without validation
    
    Bug: 15851
    Change-Id: I2635937d3107a75076e9bbee536797d97792683d
    Reviewed-on: https://code.wireshark.org/review/33705
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  94f497f   Qt: Use a lighter link color in dark mode.
     add  94d0e08   mmdbresolve: check the return value of malloc


Summary of changes:
 mmdbresolve.c | 4 ++++
 1 file changed, 4 insertions(+)