**Describe the bug**
MonetDB Dec2023-SP2 crashes with the `PASSWORD_HASH` function.

**To Reproduce**
```sql
SELECT PASSWORD_HASH('1');
```

**Backtrace of the Crash**
```
#0  0x00007fe06dbab915 in ?? () from target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe06e24a2e0 in strPut () from target:/usr/local/lib/libbat.so.28
#2  0x00007fe06e2be3e9 in BUNappendmulti () from target:/usr/local/lib/libbat.so.28
#3  0x00007fe06e2bf9af in BUNappend () from target:/usr/local/lib/libbat.so.28
#4  0x00007fe06d0fa8e1 in res_col_create () from target:/usr/local/lib/libmonetdbsql.so.14
#5  0x00007fe06d0351ff in mvc_result_value () from target:/usr/local/lib/libmonetdbsql.so.14
#6  0x00007fe06cfd5a15 in mvc_scalar_value_wrap () from target:/usr/local/lib/libmonetdbsql.so.14
#7  0x00007fe06ef0a1b8 in runMALsequence () from target:/usr/local/lib/libmonetdb5.so.35
#8  0x00007fe06ef0c3b9 in runMAL () from target:/usr/local/lib/libmonetdb5.so.35
#9  0x00007fe06cfe6b67 in SQLrun () from target:/usr/local/lib/libmonetdbsql.so.14
#10 0x00007fe06cfe7d7c in SQLengineIntern () from target:/usr/local/lib/libmonetdbsql.so.14
#11 0x00007fe06cfe631a in SQLengine_ () from target:/usr/local/lib/libmonetdbsql.so.14
#12 0x00007fe06cfe691b in SQLengine () from target:/usr/local/lib/libmonetdbsql.so.14
#13 0x00007fe06ef21826 in runScenario () from target:/usr/local/lib/libmonetdb5.so.35
#14 0x00007fe06ef22140 in MSscheduleClient () from target:/usr/local/lib/libmonetdb5.so.35
#15 0x00007fe06efd1922 in doChallenge () from target:/usr/local/lib/libmonetdb5.so.35
#16 0x00007fe06e2cdeed in thread_starter () from target:/usr/local/lib/libbat.so.28
#17 0x00007fe06dc1d609 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007fe06db42353 in clone () from target:/lib/x86_64-linux-gnu/libc.so.6
```

**Software versions**
 - MonetDB version number: v11.49.7 (Dec2023-SP2)
 - OS and version: Ubuntu 20.04
 - From docker image monetdb/monetdb:Dec2023-SP2 (or monetdb/dev-builds:default)
MonetDB Dec2023-SP2 crashes with the `PASSWORD_HASH` function
This is a GitHub Issue
repo:MonetDB
owner:MonetDB
Title : MonetDB Dec2023-SP2 crashes with the `PASSWORD_HASH` function
Issue date:

--- start body ---
**Describe the bug**
MonetDB Dec2023-SP2 crashes with the `PASSWORD_HASH` function.

**To Reproduce**
```sql
SELECT PASSWORD_HASH('1');
```

**Backtrace of the Crash**
```
#0  0x00007fe06dbab915 in ?? () from target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fe06e24a2e0 in strPut () from target:/usr/local/lib/libbat.so.28
#2  0x00007fe06e2be3e9 in BUNappendmulti () from target:/usr/local/lib/libbat.so.28
#3  0x00007fe06e2bf9af in BUNappend () from target:/usr/local/lib/libbat.so.28
#4  0x00007fe06d0fa8e1 in res_col_create () from target:/usr/local/lib/libmonetdbsql.so.14
#5  0x00007fe06d0351ff in mvc_result_value () from target:/usr/local/lib/libmonetdbsql.so.14
#6  0x00007fe06cfd5a15 in mvc_scalar_value_wrap () from target:/usr/local/lib/libmonetdbsql.so.14
#7  0x00007fe06ef0a1b8 in runMALsequence () from target:/usr/local/lib/libmonetdb5.so.35
#8  0x00007fe06ef0c3b9 in runMAL () from target:/usr/local/lib/libmonetdb5.so.35
#9  0x00007fe06cfe6b67 in SQLrun () from target:/usr/local/lib/libmonetdbsql.so.14
#10 0x00007fe06cfe7d7c in SQLengineIntern () from target:/usr/local/lib/libmonetdbsql.so.14
#11 0x00007fe06cfe631a in SQLengine_ () from target:/usr/local/lib/libmonetdbsql.so.14
#12 0x00007fe06cfe691b in SQLengine () from target:/usr/local/lib/libmonetdbsql.so.14
#13 0x00007fe06ef21826 in runScenario () from target:/usr/local/lib/libmonetdb5.so.35
#14 0x00007fe06ef22140 in MSscheduleClient () from target:/usr/local/lib/libmonetdb5.so.35
#15 0x00007fe06efd1922 in doChallenge () from target:/usr/local/lib/libmonetdb5.so.35
#16 0x00007fe06e2cdeed in thread_starter () from target:/usr/local/lib/libbat.so.28
#17 0x00007fe06dc1d609 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007fe06db42353 in clone () from target:/lib/x86_64-linux-gnu/libc.so.6
```

**Software versions**
 - MonetDB version number: v11.49.7 (Dec2023-SP2)
 - OS and version: Ubuntu 20.04
 - From docker image monetdb/monetdb:Dec2023-SP2 (or monetdb/dev-builds:default)
--- end body ---

A crash in MonetDB v11.49.7 (Dec2023-SP2) occurs when executing the `PASSWORD_HASH` function, leading to a Denial of Service (DoS) condition. The backtrace indicates that the crash is related to memory handling in the library functions, which could potentially be exploited if the function is used in a vulnerable context.