Alex Peshkoff via Firebird-devel wrote 15.09.2022 18:08:
I do not want to say segfault is good thing and will not provide as a sample
trivial things like strcpy() - but almost any function in C library will
segfault when passed wrong address of some data.
strcpy() is a quite bad example because it is even more ancient than Firebird
API. Modern functions that are supposed to return an error code get used to
returns EFAULT or EINVAL.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel