Bug 257909 - security/vaultwarden mysql Assertion failed: (param->buffer_length != 0)
Summary: security/vaultwarden mysql Assertion failed: (param->buffer_length != 0)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Michael Reifenberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 10:48 UTC by itwrx
Modified: 2021-08-17 10:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mr)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description itwrx 2021-08-17 10:48:35 UTC
Hello,

I just tried to run vaultwarden (installed via pkg (no difference between latest or quarterly)) with mariadb as database. After adding 


DATABASE_URL=mysql://dbuser:password@host/database
export DATABASE_URL

and restarting vaultwarden I get the following error in /var/log/messages

Aug 17 08:19:39 vault vaultwarden[30886]: Assertion failed: (param->buffer_length != 0), function setup_one_fetch_function, file /wrkdirs/usr/ports/databases/mysql57-client/work/mysql-5.7.35/libmysql/libmysql.c, line 4121.

looks quite similar to this issue bug #255748 even if I have mysql-5.7.35..

Henning