Weslee Bilodeau <weslee(dot)bilodeau(at)hypermediasystems(dot)com> writes:
> On the input and output functions for the new type, I lookup the
> encrypt/decrypt functions using -
> FuncnameGetCandidates( list_make1( makeString( "decrypt" ) )
> Running through the list and getting the functions OID, then calling
> with OidFunctionCall3().
Yech. That sounds trivially crashable, just define decrypt() to do
something other than what your code is expecting....
regards, tom lane