summaryrefslogtreecommitdiffstats
path: root/include/json.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-09-20 19:11:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-03 12:23:37 +0100
commit04109b455293d726fb565ac02e083fa41330e672 (patch)
tree7c76f67912c60765955db994ce7b012959448040 /include/json.h
parent8db05f2c4f3d71571a8d6fe017699a61fab16331 (diff)
parser_json: Proper ct expectation attribute parsing
commit 34c1337296807b3a3147c95268f5e4ca70811779 upstream. Parts of the code were unsafe (parsing 'I' format into uint32_t), the rest just plain wrong (parsing 'o' format into char *tmp). Introduce a temporary int variable to parse into. Fixes: 1dd08fcfa07a4 ("src: add ct expectations support") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/json.h')
0 files changed, 0 insertions, 0 deletions