| 97 | } |
| 98 | |
| 99 | static size_t gf_input_length(const char *text) { |
| 100 | if (!text) |
| 101 | return SIZE_MAX; |
| 102 | size_t n = strnlen(text, (size_t)GF_INPUT_MAX + 1); |
| 103 | return n <= GF_INPUT_MAX ? n : SIZE_MAX; |
| 104 | } |
| 105 | |
| 106 | static bool gf_absolute(const char *path) { |
| 107 | if (!path || !path[0]) |
no outgoing calls
no test coverage detected