Skip to content
Permalink
Browse files Browse the repository at this point in the history
* Fixed Github Vulnerability Report GHSL-2022-066
  • Loading branch information
adamansky committed Aug 25, 2022
1 parent eaee646 commit a79d31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
@@ -1,5 +1,6 @@
iowow (1.4.16) UNRELEASED; urgency=medium

* Fixed Github Vulnerability Report GHSL-2022-066
* Added additional IW_ERROR_XX codes (iwlog.h)
* Added VERBOSE log level (iwlog.h)
* Added iwhmap_put_str() (iwhmap.h)
Expand Down
2 changes: 1 addition & 1 deletion src/json/iwjson.c
Expand Up @@ -26,7 +26,7 @@ static void _jbn_add_item(JBL_NODE parent, JBL_NODE node);

void iwjson_ftoa(long double val, char buf[static IWNUMBUF_SIZE], size_t *out_len) {
// TODO: review
int len = snprintf(buf, 64, "%.8Lf", val);
int len = snprintf(buf, IWNUMBUF_SIZE, "%.8Lf", val);
if (len <= 0) {
buf[0] = '\0';
*out_len = 0;
Expand Down

0 comments on commit a79d31e

Please sign in to comment.