diff options
author | Phil Sutter <phil@nwl.cc> | 2023-09-20 19:11:45 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-03 12:23:37 +0100 |
commit | 04109b455293d726fb565ac02e083fa41330e672 (patch) | |
tree | 7c76f67912c60765955db994ce7b012959448040 /include/json.h | |
parent | 8db05f2c4f3d71571a8d6fe017699a61fab16331 (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