Bug#1031770: kontact: cannot show existing messages and will not retrieve new ones

2023-02-22 Thread Rai
:amd64 2:3.42.1-1+deb10u6
2023-02-21 07:30:28 configure mariadb-common:all 1:10.3.38-0+deb10u1 
2023-02-21 07:30:28 status unpacked mariadb-common:all 1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status half-configured mariadb-common:all 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status installed mariadb-common:all 1:10.3.38-0+deb10u1
2023-02-21 07:30:28 configure mariadb-server-core-10.3:amd64 
1:10.3.38-0+deb10u1 
2023-02-21 07:30:28 status unpacked mariadb-server-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status half-configured mariadb-server-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status installed mariadb-server-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 configure libmariadb3:amd64 1:10.3.38-0+deb10u1 
2023-02-21 07:30:28 status unpacked libmariadb3:amd64 1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status half-configured libmariadb3:amd64 1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status installed libmariadb3:amd64 1:10.3.38-0+deb10u1
2023-02-21 07:30:28 configure mariadb-client-core-10.3:amd64 
1:10.3.38-0+deb10u1 
2023-02-21 07:30:28 status unpacked mariadb-client-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status half-configured mariadb-client-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 status installed mariadb-client-core-10.3:amd64 
1:10.3.38-0+deb10u1
2023-02-21 07:30:28 configure isc-dhcp-common:amd64 4.4.1-2+deb10u3 
2023-02-21 07:30:28 status unpacked isc-dhcp-common:amd64 4.4.1-2+deb10u3
2023-02-21 07:30:28 status half-configured isc-dhcp-common:amd64 4.4.1-2+deb10u3
2023-02-21 07:30:28 status installed isc-dhcp-common:amd64 4.4.1-2+deb10u3
2023-02-21 07:30:28 configure openssl:amd64 1.1.1n-0+deb10u4 
2023-02-21 07:30:28 status unpacked openssl:amd64 1.1.1n-0+deb10u4
2023-02-21 07:30:28 status half-configured openssl:amd64 1.1.1n-0+deb10u4
2023-02-21 07:30:28 status installed openssl:amd64 1.1.1n-0+deb10u4
2023-02-21 07:30:28 trigproc man-db:amd64 2.8.5-2 
2023-02-21 07:30:28 status half-configured man-db:amd64 2.8.5-2
2023-02-21 07:30:28 status installed man-db:amd64 2.8.5-2
2023-02-21 07:30:28 trigproc libc-bin:amd64 2.28-10+deb10u2 
2023-02-21 07:30:28 status half-configured libc-bin:amd64 2.28-10+deb10u2
2023-02-21 07:30:29 status installed libc-bin:amd64 2.28-10+deb10u2
 
Regards,

Rai



Bug#1031770: Info received (kontact: cannot show existing messages and will not retrieve new ones)

2023-02-24 Thread Rai
Hi Paul,

Great work and big thanks for the findings.
But indeed, this change in mariadb_lib.c is a functional change which should 
have never made it in a security update. :(

Regards
Rai

Am 23.02.2023 um 17:17 schrieb Paul Boddie:

> Hello again,
> 
> I looked at the packaging repository for libmariadb3 and found the following 
> commit importing the upstream sources for 10.3.38:
> 
> https://salsa.debian.org/mariadb-team/mariadb-10.3/-/commit/773fb3e04ffae2b4868876be632fb7244329e7c3
> 
> Looking at the diff, I found the following change to 
> libmariadb/libmariadb/mariadb_lib.c:
> 
> @@ -3879,7 +3881,7 @@ int STDCALL mysql_set_server_option(MYSQL *mysql,
> 
> ulong STDCALL mysql_get_client_version(void)
> {
> -  return MARIADB_VERSION_ID;
> +  return MARIADB_PACKAGE_VERSION_ID;
> }
> 
> ulong STDCALL mysql_hex_string(char *to, const char *from, unsigned long len)
> 
> This appears to be what the Qt bug report is describing:
> 
> "MariaDB 10.6 changed the mysql_get_client_version output to return the 
> library version (30200 as of 10.6.3) instead of the server version"
> 
> https://bugreports.qt.io/browse/QTBUG-95071
> 
> So, it seems that the changes to MariaDB 10.6 have leaked into 10.3, thus 
> causing this issue.
> 
> Paul

Rainald Lampl