Hex parsing hardening.

This commit is contained in:
Ian Gulliver
2016-02-26 14:09:37 -08:00
parent e89d30af24
commit e3a372e1ea
11 changed files with 55 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ struct packet;
void json_init(void);
void json_cleanup(void);
bool json_parse(struct buf *, struct packet *, void *);
bool __attribute__ ((warn_unused_result)) json_parse(struct buf *, struct packet *, void *);
void json_serialize(struct packet *, struct buf *);
int json_buf_append_callback(const char *, size_t, void *);