Hello We're running coverity every night and I try to address most of what it reports (except the netloc/ directory git master which still needs a lot of work). What tool do you use?
It's true we don't check malloc() return values in many cases (hopefully only the small allocations), mostly because we're lazy (and also because many other things would go wrong when malloc starts failing :/) Brice Le 12/01/2016 12:23, Odzioba, Lukasz a écrit : > Hi, > Static analysis tool we use has found quite a lot of potential issues in > hwloc. > Most of them are type of "NULL ptr dereference" i.e. when pointer is not > checked for null after allocation, but there are some more interesting cases > as well. > My team distributes hwloc as a part of software package and we could just > ignore those, but I wanted to let you know in case you are interested in > fixing some or all of them. > > Please let me know If you would like to get a full list, so I'll prepare it. > > Thanks, > Lukas > > _______________________________________________ > hwloc-devel mailing list > hwloc-de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel > Link to this post: > http://www.open-mpi.org/community/lists/hwloc-devel/2016/01/4698.php