| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2026-07-30 16:20:13 -0400. version 4.6.6 Do not edit! */ | ||
| 1 | + /* auto-generated on 2026-08-14 12:14:27 -0400. version 4.6.7 Do not edit! */ | ||
| 2 | 2 | /* including simdjson.cpp: */ | |
| 3 | 3 | /* begin file simdjson.cpp */ | |
| 4 | 4 | #define SIMDJSON_SRC_SIMDJSON_CPP | |
@@ -15228,6 +15228,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 15228 | 15228 | const uint8_t *p = value; | |
| 15229 | 15229 | if (*p == '-') p++; | |
| 15230 | 15230 | while (numberparsing::is_digit(*p)) p++; | |
| 15231 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 15232 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 15233 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 15231 | 15234 | size_t len = size_t(p - value); | |
| 15232 | 15235 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 15233 | 15236 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -21620,6 +21623,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 21620 | 21623 | const uint8_t *p = value; | |
| 21621 | 21624 | if (*p == '-') p++; | |
| 21622 | 21625 | while (numberparsing::is_digit(*p)) p++; | |
| 21626 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 21627 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 21628 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 21623 | 21629 | size_t len = size_t(p - value); | |
| 21624 | 21630 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 21625 | 21631 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -28007,6 +28013,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 28007 | 28013 | const uint8_t *p = value; | |
| 28008 | 28014 | if (*p == '-') p++; | |
| 28009 | 28015 | while (numberparsing::is_digit(*p)) p++; | |
| 28016 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 28017 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 28018 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 28010 | 28019 | size_t len = size_t(p - value); | |
| 28011 | 28020 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 28012 | 28021 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -34665,6 +34674,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 34665 | 34674 | const uint8_t *p = value; | |
| 34666 | 34675 | if (*p == '-') p++; | |
| 34667 | 34676 | while (numberparsing::is_digit(*p)) p++; | |
| 34677 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 34678 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 34679 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 34668 | 34680 | size_t len = size_t(p - value); | |
| 34669 | 34681 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 34670 | 34682 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -41885,6 +41897,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 41885 | 41897 | const uint8_t *p = value; | |
| 41886 | 41898 | if (*p == '-') p++; | |
| 41887 | 41899 | while (numberparsing::is_digit(*p)) p++; | |
| 41900 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 41901 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 41902 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 41888 | 41903 | size_t len = size_t(p - value); | |
| 41889 | 41904 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 41890 | 41905 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -48136,6 +48151,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 48136 | 48151 | const uint8_t *p = value; | |
| 48137 | 48152 | if (*p == '-') p++; | |
| 48138 | 48153 | while (numberparsing::is_digit(*p)) p++; | |
| 48154 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 48155 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 48156 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 48139 | 48157 | size_t len = size_t(p - value); | |
| 48140 | 48158 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 48141 | 48159 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -54291,6 +54309,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 54291 | 54309 | const uint8_t *p = value; | |
| 54292 | 54310 | if (*p == '-') p++; | |
| 54293 | 54311 | while (numberparsing::is_digit(*p)) p++; | |
| 54312 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 54313 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 54314 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 54294 | 54315 | size_t len = size_t(p - value); | |
| 54295 | 54316 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 54296 | 54317 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -60865,6 +60886,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 60865 | 60886 | const uint8_t *p = value; | |
| 60866 | 60887 | if (*p == '-') p++; | |
| 60867 | 60888 | while (numberparsing::is_digit(*p)) p++; | |
| 60889 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 60890 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 60891 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 60868 | 60892 | size_t len = size_t(p - value); | |
| 60869 | 60893 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 60870 | 60894 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
@@ -64733,6 +64757,9 @@ simdjson_warn_unused simdjson_inline error_code tape_builder::visit_number(json_ | |||
| 64733 | 64757 | const uint8_t *p = value; | |
| 64734 | 64758 | if (*p == '-') p++; | |
| 64735 | 64759 | while (numberparsing::is_digit(*p)) p++; | |
| 64760 | + // The digit run must be terminated by a structural or whitespace character; otherwise the | ||
| 64761 | + // token is malformed (e.g. "123456789123456789123x"). | ||
| 64762 | + if (jsoncharutils::is_not_structural_or_whitespace(*p)) { return NUMBER_ERROR; } | ||
| 64736 | 64763 | size_t len = size_t(p - value); | |
| 64737 | 64764 | tape.append(current_string_buf_loc - iter.dom_parser.doc->string_buf.get(), internal::tape_type::BIGINT); | |
| 64738 | 64765 | uint8_t *dst = current_string_buf_loc + sizeof(uint32_t); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2026-07-30 16:20:13 -0400. version 4.6.6 Do not edit! */ | ||
| 1 | + /* auto-generated on 2026-08-14 12:14:27 -0400. version 4.6.7 Do not edit! */ | ||
| 2 | 2 | /* including simdjson.h: */ | |
| 3 | 3 | /* begin file simdjson.h */ | |
| 4 | 4 | #ifndef SIMDJSON_H | |
@@ -2538,7 +2538,7 @@ namespace std { | |||
| 2538 | 2538 | #define SIMDJSON_SIMDJSON_VERSION_H | |
| 2539 | 2539 | ||
| 2540 | 2540 | /** The version of simdjson being used (major.minor.revision) */ | |
| 2541 | - #define SIMDJSON_VERSION "4.6.6" | ||
| 2541 | + #define SIMDJSON_VERSION "4.6.7" | ||
| 2542 | 2542 | ||
| 2543 | 2543 | namespace simdjson { | |
| 2544 | 2544 | enum { | |
@@ -2553,7 +2553,7 @@ enum { | |||
| 2553 | 2553 | /** | |
| 2554 | 2554 | * The revision (major.minor.REVISION) of simdjson being used. | |
| 2555 | 2555 | */ | |
| 2556 | - SIMDJSON_VERSION_REVISION = 6 | ||
| 2556 | + SIMDJSON_VERSION_REVISION = 7 | ||
| 2557 | 2557 | }; | |
| 2558 | 2558 | } // namespace simdjson | |
| 2559 | 2559 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments