Closed 0xricksanchez closed 4 years ago
Hi !
First of all, thanks for investigating. This kind of issues are always welcome!
Just, APIv1 is kind of deprecated and wont be along for very much longer I think. Perhaps start spending the time on something more interesting?
Also, for issues on NGSIv2, the original Orion (https://github.com/telefonicaid/fiware-orion) might be a better place for issues.
This repo is an old copy of the Orion repo (from August 2018) and what is added is purely NGSI-LD services. That and having to modify the underlying libs for NGSI-LD to work, of course.
You're welcome! I"ve ported the issues to the main repository (what I intended to do in the first place). I wasn't paying enough attention that early in the morning. My Bad!
As for the APIv1 related Issues, they still may be useful for comparison since some issues between these two API endpoints seem very similar.
Check my reasoning in #330
Sending malformed JSON entities to the context.Orion_LD (compiled with an Address Sanitizer) V1 API can result in a stack overflow in the
/boost/property_tree/json_parser
: It looks like our JSON request was deemed valid from the FIWARE side of things but the format breaks thePtree()
implementation in the boost library, which provides a JSON parser utility./boost/property_tree/json_parser/detail/standard_callbacks.hpp:123
Crash back trace:
Recorded responsible test case 1 :
Recorded responsible test case 2:
Can be found here
Recorded responsible test case 3:
Can be found here