rsyslog / rsyslog/libfastjson

null characters in strings

Open
#118 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
61
Forks
35
Avg merge
21m
Merged PRs (30d)
2

Description

Hi Rainer,

Would you be willing to overthink your decision to not handle NULL bytes inside strings? It would be nice if we can rely on the library to recognize all valid json input, even when it contains these NULL bytes.

Emiel

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing parsing of JSON strings containing NULL bytes and then locate the string-parsing path in libfastjson. Done means valid JSON containing NULL bytes is recognized without breaking existing parsing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.