> -----Original Message----- > From: Jesus Garcia [mailto:jeg...@gmail.com] > Sent: Domingo, 04 de Diciembre de 2011 12:18 > To: For discussion among Firebird Developers > > I know it, and is not me, is firebird. I try To test > everything, but nothing is perfect. One simple example is one > udf i have To calc the power. If two arguments Are negative, > the function raises an exception and firebird crash. When i > have explained that To my customer he could not belive how > that error could cause firebird crash one time and another, > and so, until we found the problem, because with a lot of > users is complicated find that.
UDF installation is restricted to administrators, for the same reason. The UDF directory is restricted, too. An UDF is simply a library that runs as native code in the same address space as the FB process. Big problem if it misbehaves. Maybe the problem could be isolated better by running in classic mode, as only the process executing the faulty UDF will die at once. FB code compiled with one version of C++ cannot understand exceptions layout from another version, from another C++ compiler or written in a totally different language. Security rarely comes with speed. UDF are relatively fast to execute, but there's no protection. They don't run in a sandbox. C. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel