-
Hello. I think i found a bug in cJSON v1.7.15, in this code, if the parent passed in cJSON_DetachItemViaPointer has not a child, which means parent->child is null, a null pointer dereference crash wil…
-
The latest seems to be fuzztest:
https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md
https://github.com/google/fuzztest/blob/main/doc/use-cases.md
I'd suggest adding fuzz tests f…
-
This issue is related to #6, in which a global switch is suggested in order to force empty objects to "always be arrays" or "always be objects".
I would argue that while that will solve some specific…
-
local cjson = require "cjson"
Some user will use cjson in lua script, and got runtime error, e.g.
"...failed: error loading module 'cjson' from file ... undefined symbol: lua_getfield @ts_lua_util.…
-
### Description
Problems with cJSON:
1. Undermaintained
2. "Lots" of allocations (how big of an issue is this? not sure)
3. Will leak memory depending on which cJSON APIs you use
Alternatives…
-
environment: lua5.3 and lua-cjson 2.1.0.10-1
json file: cfg.json
```
{
"server_ip": "192.168.1.100",
"server_port": 10000,
}
```
lua code:
```
local cjson = require("cjson.safe")…
-
Hi there,
I tried to follow the example you have here, I have little issue in this part of code.
```lua
--
-- Created by IntelliJ IDEA.
-- User: ismael
-- Date: 19/05/17
-- Time: 17:17
-…
-
Hi,
I use luajit 2.1.0-beta3 and lua-cjson 2.1.0-1 from http://luarocks.org,I print a error "cjson.so: undefined symbol: lua_rotate" when running. I search that "lua_rotate" is a new add in lua…
-
a) sessionId is not set
b) parsing contexts is buggy
```
diff --git a/apiai/src/query/QueryRequest.cpp b/apiai/src/query/QueryRequest.cpp
index a284416..d331f96 100644
--- a/apiai/src/query/Que…
Sfinx updated
7 years ago
-
` cJSON *baseConfig = CONFIG_READ("base");`
`if (baseConfig != NULL) {`
` DEBUG_ENABLE = (unsigned char) cJSON_GetObjectItem(baseConfig, "debug")->valueint;`
` strcpy(NETWORK_ETH, …