agroal / pgagroal

High-performance connection pool for PostgreSQL
https://agroal.github.io/pgagroal/
BSD 3-Clause "New" or "Revised" License
681 stars 61 forks source link

Fix SegFault in pgagroal-cli #408

Closed decarv closed 7 months ago

decarv commented 7 months ago

pgagroal-cli was raising segmentation fault when no command is specified, but a password is specified.

The fix for this followed this suggestion and removes do_free completely. password is now always dynamically allocated.

jesperpedersen commented 7 months ago

You need to add your name to AUTHORS as well

jesperpedersen commented 7 months ago

Rebased, and merged.

Welcome to the community !

Thanks for your contribution !

decarv commented 7 months ago

Rebased, and merged.

Welcome to the community !

Thanks for your contribution !

Thank you, @jesperpedersen! Looking forward to more contributions!