| 5720 | } |
| 5721 | |
| 5722 | static bool query_graph_hex_span(const char *begin, const char *end, size_t expected) { |
| 5723 | if (!begin || !end || end < begin || (size_t)(end - begin) != expected) { |
| 5724 | return false; |
| 5725 | } |
| 5726 | for (const char *digit = begin; digit < end; digit++) { |
| 5727 | if (!isxdigit((unsigned char)*digit)) { |
| 5728 | return false; |
| 5729 | } |
| 5730 | } |
| 5731 | return true; |
| 5732 | } |
| 5733 | |
| 5734 | /* Decode and validate every token field that does not require executing the |
| 5735 | * query. The materialization digest itself is checked immediately after the |
no outgoing calls
no test coverage detected