>
>
> The only way to have absolutely save UDFs is to run them in separate
> process. But I'm afraid that this will make them work much slower.
>
> Catching unhandled exceptions from foreign module is impossible in
> almost all cases. Code invoking UDFs does catch what it can catch. To
> make sure try to access wrong address in your UDF and see what happens
>
I understand that is possible, but must be paid with speed, and is better
speed than security. When the engine shutdown, can be the database
corrupted, or the engine close all processes right?
> BTW, in your case the best solution is to avoid UDF at all - just use
> builtin power() function.
>
I have no problem with the UDF, is corrected years ago and i need it ecause
i use FB 1.0 and IB. Was just an example.
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel