Boost logo

Boost :

Subject: [boost] [inteprocess] static analyzer results
From: Gaetano Mendola (mendola_at_[hidden])
Date: 2014-12-19 02:22:38

We have upgraded to use boost 1.55 and our static analyzer is telling us:

interprocess/detail/win32_api.hpp: ~1145
if if(!SetSecurityDescriptorDacl(&sd, true, 0, false)) takes the true branch
then sa.nLenght, sa.lpSecurityDescriptor, sa.bInheritHandle result in not
initialized members.

interprocess/sync/spin/recursive_mutex.hpp: CTOR at 71
leaves the m_s not initialized

interprocess/mapped_region.hpp: ~341

boost::uintmax_t(mapping_size - (offset - page_offset)) > boost::uintmax_t(

is always false

Boost list run by bdawes at, gregod at, cpdaniel at, john at