[oe-commits] [openembedded-core] 13/25: boost: Replace math::static_lcm with integer

git at git.openembedded.org git at git.openembedded.org
Thu Sep 15 21:57:37 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2e2ecd867d47ee24b37f61af6db5338df5059844
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Tue Sep 13 13:32:31 2016 +0800

    boost: Replace math::static_lcm with integer
    
    Replace math with integer according to the commit upstream:
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch b/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
index 0cd97cc..917617a 100644
--- a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
+++ b/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch
@@ -26,7 +26,7 @@ index c47b11f..417a1e0 100644
 +    size_type max_chunks() const
 +    { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool.
 +      size_type partition_size = alloc_size();
-+      size_type POD_size = math::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
++      size_type POD_size = integer::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
 +      size_type max_chunks = (std::numeric_limits<size_type>::max() - POD_size) / alloc_size();
 +
 +      return max_chunks;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list