Code Monkey home page Code Monkey logo

boost-for-react-native's People

Contributors

ajohnsonrh avatar bestander avatar cfkevinref avatar cipolleschi avatar fson avatar ide avatar mkonicek avatar sesm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boost-for-react-native's Issues

Cocoapods compatibility

There's an issue on react-native I've opened: facebook/react-native#16381
I'm trying to use this version of boost instead of what's currently referred to as 'boost' in Folly.podspec, since the release version that can be downloaded from here is 4-5x smaller.

This is the podspec I've added
https://github.com/languagedrops/react-native/commit/1c3f1ab55aa8541bde2adbc4c4f25914a5731021

which should be the same as:
https://github.com/CocoaPods/Specs/blob/master/Specs/9/9/d/boost/1.59.0/boost.podspec.json

except the download URL.

But when I try to run the project with boost installed from this repo, I get the following error:
image

Are there any plans of making a pod out of this?

Thank you!

IOS build fails: <include> files cannot be found

Bug report

Summary

When building the project, it fails with various "file not found" messages for files inside
For example,
fatal error: 'boost/config/warning_disable.hpp' file not found #include <boost/config/warning_disable.hpp>

Environment info

react-native info output:

System:
  OS: macOS 10.15.4
  CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  Memory: 536.50 MB / 16.00 GB
  Shell: 3.2.57 - /bin/bash
 Binaries:
  Node: 12.12.0 - /usr/local/bin/node
  Yarn: 1.19.1 - /usr/local/bin/yarn
  npm: 6.11.3 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
 SDKs:
  iOS SDK:
   Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
 IDEs:
  Xcode: 11.5/11E608c - /usr/bin/xcodebuild
 npmPackages:
  react: 16.9.0 => 16.9.0 
  react-native: 0.61.0 => 0.61.0 
 npmGlobalPackages:
  babel-preset-react-native: 5.0.0
  jest-react-native: 18.0.0
  react-native-animatable: 1.3.2
  react-native-carrier-info: 1.1.1
  react-native-cli: 2.0.1
  react-native: 0.59.10
[...]

Library version: 1.63.0

Steps to reproduce

  1. npm i
  2. cd ios && pod install
  3. react-native run-ios

The build will fail.
I saw all the Stackoverflow posts regarding the issue, e.g. this one - nothing helps.

Seems as the lib misses a path of some kind.

Will greatly appreciate any help or idea.

Where is boost-1.59.0 ?

Where is boost-1.59.0 ? My old project based on react-native 0.49.5 which require boost 1.59.0

Vulnerability: Denial of Service

Question

Hi
We conduct a software composition analysis scan by Black Duck hub and we found the following :

(1) BDSA-2018-2656

Boost has a flaw in the function boost::re_detail_NUMBER::basic_regex_creator which can lead to a buffer over-read. An attacker can craft and send a malicious file which will trigger the buffer over-read, leading to a denial-of-service.

The vulnerability can be exploited by local attackers via import of a maliciously crafted file or by remote attackers that send the file to a victim. The Boost software will crash when the file is imported into the library.
Details:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6708


(2) BDSA-2018-1263

Boost incorrectly casts from "boost::detail::shared_count::shared_count" to "boost::detail::sp_counted_base" causing type confusion leading to a denial-of-service (DoS).
Details:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4680

Please advise if the following has a patch.

Is this used for iOS build?

Question

README now says This is a copy of Boost that is used to build React Native (Android) from source, but I've encountered this error , which suggest that boost is also used for iOS build.
Should README be updated to reflect this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.