A segmentation fault occurs when a zero initialized struct with a string field (JSON_TOK_STRING) is encoded. Encode a string null pointer as an empty JSON string "". Signed-off-by: Christoph Winklhofer <cj.winklhofer@gmail.com> |
||
|---|---|---|
| .. | ||
| base64.c | ||
| bitarray.c | ||
| CMakeLists.txt | ||
| cobs.c | ||
| dec.c | ||
| hex.c | ||
| json.c | ||
| Kconfig | ||
| last_section_id.c | ||
| notify.c | ||
| onoff.c | ||
| rb.c | ||
| ring_buffer.c | ||
| timeutil.c | ||
| utf8.c | ||
| winstream.c | ||