balabit/syslog-ng — pull request #90 by algernon (2014-02-25 15:31:56+00:00)
Title: json-parser: Fix cloning when no marker is set

When cloning a json-parser, only clone the marker if it is set in the
original, otherwise we may end up crashing trying to strlen(NULL).

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy