From: Dimitry S. <sd...@ib...> - 2022-09-16 10:53:45
|
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. |