Any C code that performs a calculation which would silently be wrong or crash if the values were not correct (even though they are) is inherently unsafe.
Are you claiming it’s not? verify all input should be the baseline to call something safe imho.