#985480 libdtkcore5: Crash when calling DSysInfoPrivate::ensureDeepinInfo()

Package:
libdtkcore5
Source:
dtkcore
Description:
Deepin Tool Kit Core library
Submitter:
Boyuan Yang
Date:
2022-06-13 19:21:06 UTC
Severity:
important
#985480#5
Date:
2021-03-19 02:55:32 UTC
From:
To:
Current library function logic in libdtkcore will result in crash when
"About" menu is opened in Deepin Applications. This is due to the
library trying to read the nonexistent Deepin-specific file and would
result in null pointer.

The patch fixing this bug has been provided by Deepin upstream in
https://salsa.debian.org/pkg-deepin-team/dtkcore/-/commit/96cbcf9493a4c9cc8879b5a1d1e39df9bb42b979
and will be applied in 5.2.2.5-3 upload.

#985480#10
Date:
2021-03-19 03:18:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dtkcore, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 985480@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated dtkcore package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 18 Mar 2021 22:57:38 -0400
Source: dtkcore
Architecture: source
Version: 5.2.2.5-3
Distribution: unstable
Urgency: high
Maintainer: Debian Deepin Packaging Team <pkg-deepin-devel@lists.alioth.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 985480
Changes:
 dtkcore (5.2.2.5-3) unstable; urgency=high
 .
   * debian/patches/0001-fix-access-null-pointer.patch: Apply upstream
     patch to avoid program crash when clicking "About" menu in Deepin
     Applications. (Closes: #985480)
Checksums-Sha1:
 5ad5115bee37fe740e719d2c7793e7120fe9ff9c 2283 dtkcore_5.2.2.5-3.dsc
 6739bc8e3f55c9b4cf84f041c53d172fb8280de2 238802 dtkcore_5.2.2.5.orig.tar.gz
 0009a94e15545ede05ea3b393d102bf9b1d9ad37 13616 dtkcore_5.2.2.5-3.debian.tar.xz
 1cb41d41e70c0f071f4ac17504ea9c441f5e6b9b 13088 dtkcore_5.2.2.5-3_amd64.buildinfo
Checksums-Sha256:
 8ec57e76a1aaacfc937f0c3358a076cddca33a94aee1f2f4ec65591701f9f31b 2283 dtkcore_5.2.2.5-3.dsc
 8a9ecfd629dc6f8e98649a950fba24a590da867b988e621e03ff83fe634d4eef 238802 dtkcore_5.2.2.5.orig.tar.gz
 ec0656dc6d80414effd60bd7fdade50ca65ad873766c812c0fb0fb178916a51b 13616 dtkcore_5.2.2.5-3.debian.tar.xz
 fbac1838e636715ceb16d4f46d7790fdb1ed299543b4849f48be6545d1402a3d 13088 dtkcore_5.2.2.5-3_amd64.buildinfo
Files:
 8fdf3ad3800d9712fd22771841f2a5fd 2283 libs optional dtkcore_5.2.2.5-3.dsc
 6a6722b862958ba84e465e388fcfe6d5 238802 libs optional dtkcore_5.2.2.5.orig.tar.gz
 8f4f13b1e4c3834cfc9b79f28a292fd7 13616 libs optional dtkcore_5.2.2.5-3.debian.tar.xz
 7f94d2403a6417127c1fa8443f73cd57 13088 libs optional dtkcore_5.2.2.5-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmBUE6sACgkQwpPntGGC
Ws5qTxAAoRcjI5ugNiFlAAoNdEbsjk9P/8ZtI3oO+Nmuc9ATecxRruX9TKyXWDVU
jiZ/2F9znJUR9uszaSRahL/q66dklYUxGg7Te6mvUOazjbkJ/fMUynHoDHmWt6vS
nsAyb7rZbDLU2RNOFUjWSTXYqx07LjT9NpDYpnRRs64eP9Xv/zR6Y4B58l+DD4Cf
RFJxnsuUv5cuUOqjMSpjG24+YFFFALoxfxSukQaAsNIzpZBzfo2RTAoDg9z6JX8i
NQsVjD/DO5VZlB9EVa8jbQ100oT+K2En49P8hpqEz1PVuSgzFCN2dQQ68fzEH5ZD
shtwFtZz3VMibycWDJK1JbZa3COGvaDlyC0KduSO1SrvaG8V77e+dgnYjSyqWnCd
k0OfuLdnY+AFEF5swLxigTptQ/S/qJ0PKajjzGlQU1esV4h6JaRNPT0pZi3kmK7t
ztq0hw/U8/87oATra/ZpzP5J1UVQvXJP5+Gqbom5tqL9IYMu86a6+EH8FbTt+GUN
lXXIjJ5fhi72fzslKpYbJgm+XQ1BjOYpon4KWBeLKgI1nuIbZ+NnOdiRB4SLB52z
DtFupM13GdhSCm1JY9BAHc94/rsN9lJmrKpkVQC0nwIGzgHajySua1lHsUSpIHfs
5J7PLZZLWUiI+ARB7DsFO+7qZavnTJQTNTk2W2pXHtcKFr+rur4=
=tSjq
-----END PGP SIGNATURE-----

#985480#15
Date:
2022-06-13 19:17:08 UTC
From:
To:
This bug is also not present in Testing/Unstable.

Thanks,
Boyuan Yang
https://salsa.debian.org/pkg-deepin-team/dtkcore/-/commit/96cbcf9493a4c9cc8879b5a1d1e39df9bb42b979