External engine trigger crashing server if table have computed field [CORE5972] #6224
Submitted by: @artyom-smirnov
Reproduction steps (on master):
1. Create simple UDR trigger in examples/udr/Triggers.cpp and build it.
2. Execute it on table with computed field:
create database 'localhost:/tmp/test_trig.fdb';
3. Server will crash.
Thread 5 "firebird" received signal SIGSEGV, Segmentation fault.
The text was updated successfully, but these errors were encountered:
Commented by: @artyom-smirnov
Looks like another issue with external engine triggers and computed fields:
Inserting into table with field computed by select expression, will lead to stack smashing.
For example simple table like this:
create table test(id int, c1 computed by ((select '' from rdb$database)));
On debug build of master: