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