Skip to content

SCRAM verifier & md5 credential storage with SCRAM/md5 backend pass-through - PostgreSQL - #5865

Open
rahim-kanji wants to merge 16 commits into
v3.0from
v3.0_pgsql-auth-5863
Open

SCRAM verifier & md5 credential storage with SCRAM/md5 backend pass-through - PostgreSQL#5865
rahim-kanji wants to merge 16 commits into
v3.0from
v3.0_pgsql-auth-5863

Merge remote-tracking branch 'test/pgsql-5865-tests-wt' into v3.0_pgs…

f4c9b10
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 20, 2026 in 12m 28s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 451 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8X&open=AZ9-TEaf8LJ6dqmWNb8X&pullRequest=5865

Check warning on line 2678 in lib/PgSQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9vC17Xa242REQ82Rhw&open=AZ9vC17Xa242REQ82Rhw&pullRequest=5865

Check failure on line 486 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8f&open=AZ9-TEaf8LJ6dqmWNb8f&pullRequest=5865

Check failure on line 375 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure this weak hash algorithm is not used in a sensitive context here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8R&open=AZ9-TEaf8LJ6dqmWNb8R&pullRequest=5865

Check failure on line 461 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8Z&open=AZ9-TEaf8LJ6dqmWNb8Z&pullRequest=5865

Check failure on line 228 in include/PgSQL_Connection.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this macro by "const", "constexpr" or an "enum".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9vC104a242REQ82Rhu&open=AZ9vC104a242REQ82Rhu&pullRequest=5865

Check failure on line 463 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8a&open=AZ9-TEaf8LJ6dqmWNb8a&pullRequest=5865

Check failure on line 513 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8k&open=AZ9-TEaf8LJ6dqmWNb8k&pullRequest=5865

Check failure on line 604 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to an undefined behaviour.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8o&open=AZ9-TEaf8LJ6dqmWNb8o&pullRequest=5865

Check failure on line 644 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8r&open=AZ9-TEaf8LJ6dqmWNb8r&pullRequest=5865

Check failure on line 322 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8N&open=AZ9-TEaf8LJ6dqmWNb8N&pullRequest=5865

Check failure on line 657 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8u&open=AZ9-TEaf8LJ6dqmWNb8u&pullRequest=5865

Check failure on line 481 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8e&open=AZ9-TEaf8LJ6dqmWNb8e&pullRequest=5865

Check failure on line 3048 in lib/PgSQL_Connection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 43 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9vC192a242REQ82Rh1&open=AZ9vC192a242REQ82Rh1&pullRequest=5865

Check warning on line 886 in lib/PgSQL_Connection.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9vC192a242REQ82Rhy&open=AZ9vC192a242REQ82Rhy&pullRequest=5865

Check failure on line 1050 in lib/PgSQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ8aUUrxaauKZWBXv4MH&open=AZ8aUUrxaauKZWBXv4MH&pullRequest=5865

Check warning on line 588 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8n&open=AZ9-TEaf8LJ6dqmWNb8n&pullRequest=5865

Check warning on line 523 in include/PgSQL_Connection.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9vC104a242REQ82Rhv&open=AZ9vC104a242REQ82Rhv&pullRequest=5865

Check failure on line 471 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8b&open=AZ9-TEaf8LJ6dqmWNb8b&pullRequest=5865

Check warning on line 1102 in lib/PgSQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strncpy" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ8aUUrxaauKZWBXv4MI&open=AZ8aUUrxaauKZWBXv4MI&pullRequest=5865

Check failure on line 337 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8Q&open=AZ9-TEaf8LJ6dqmWNb8Q&pullRequest=5865

Check warning on line 473 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure use of "strlen" is safe here.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8c&open=AZ9-TEaf8LJ6dqmWNb8c&pullRequest=5865

Check failure on line 456 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8Y&open=AZ9-TEaf8LJ6dqmWNb8Y&pullRequest=5865

Check failure on line 661 in test/tap/tests/pg_lite_client.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ9-TEaf8LJ6dqmWNb8p&open=AZ9-TEaf8LJ6dqmWNb8p&pullRequest=5865

Check failure on line 432 in lib/PgSQL_Protocol.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ8aUUrxaauKZWBXv4ME&open=AZ8aUUrxaauKZWBXv4ME&pullRequest=5865