| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cc434c1 commit 73a946d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ | ||
| 1 | + /* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ | ||
| 2 | 2 | /* begin file src/ada.cpp */ | |
| 3 | 3 | #include "ada.h" | |
| 4 | 4 | /* begin file src/checkers.cpp */ | |
@@ -11277,7 +11277,7 @@ bool url::parse_ipv4(std::string_view input) { | |||
| 11277 | 11277 | // We have the last value. | |
| 11278 | 11278 | // At this stage, ipv4 contains digit_count*8 bits. | |
| 11279 | 11279 | // So we have 32-digit_count*8 bits left. | |
| 11280 | - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { | ||
| 11280 | + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { | ||
| 11281 | 11281 | return is_valid = false; | |
| 11282 | 11282 | } | |
| 11283 | 11283 | ipv4 <<= (32 - digit_count * 8); | |
@@ -14058,7 +14058,7 @@ bool url_aggregator::parse_ipv4(std::string_view input) { | |||
| 14058 | 14058 | // We have the last value. | |
| 14059 | 14059 | // At this stage, ipv4 contains digit_count*8 bits. | |
| 14060 | 14060 | // So we have 32-digit_count*8 bits left. | |
| 14061 | - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { | ||
| 14061 | + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { | ||
| 14062 | 14062 | return is_valid = false; | |
| 14063 | 14063 | } | |
| 14064 | 14064 | ipv4 <<= (32 - digit_count * 8); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ | ||
| 1 | + /* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ | ||
| 2 | 2 | /* begin file include/ada.h */ | |
| 3 | 3 | /** | |
| 4 | 4 | * @file ada.h | |
@@ -7078,14 +7078,14 @@ url_search_params_entries_iter::next() { | |||
| 7078 | 7078 | #ifndef ADA_ADA_VERSION_H | |
| 7079 | 7079 | #define ADA_ADA_VERSION_H | |
| 7080 | 7080 | ||
| 7081 | - #define ADA_VERSION "2.7.4" | ||
| 7081 | + #define ADA_VERSION "2.7.5" | ||
| 7082 | 7082 | ||
| 7083 | 7083 | namespace ada { | |
| 7084 | 7084 | ||
| 7085 | 7085 | enum { | |
| 7086 | 7086 | ADA_VERSION_MAJOR = 2, | |
| 7087 | 7087 | ADA_VERSION_MINOR = 7, | |
| 7088 | - ADA_VERSION_REVISION = 4, | ||
| 7088 | + ADA_VERSION_REVISION = 5, | ||
| 7089 | 7089 | }; | |
| 7090 | 7090 | ||
| 7091 | 7091 | } // namespace ada | |
| Back | FazBrowse Home | New Git URL |
0 commit comments