CVE-2022-3650: ceph-crash: fix stderr handling
authorTim Serong <tserong@suse.com>
Wed, 2 Nov 2022 03:23:20 +0000 (14:23 +1100)
committerThomas Goirand <zigo@debian.org>
Thu, 16 Feb 2023 10:54:41 +0000 (10:54 +0000)
commita4e23ed7e3f2f78cc7a9422f6c4a42b60e8b12c0
treeaba462d5ec18b144afaf88809bc0c8276b8c8e41
parent53f24292aab9394c521ff0dd44eb04cee59c6ba6
CVE-2022-3650: ceph-crash: fix stderr handling

Bug: a77b47eeeb5770eeefcf4619ab2105ee7a6a003e
Signed-off-by: Tim Serong <tserong@suse.com>
Bug-Debian: https://bugs.debian.org/1024932
Origin: upstream, https://github.com/ceph/ceph/commit/45915540559126a652f8d9d105723584cfc63439
Last-Update: 2022-11-28

Popen.communicate() returns a tuple (stdout, stderr), and stderr
will be of type bytes, hence the need to decode it before checking
if it's an empty string or not.

Gbp-Pq: Name CVE-2022-3650_2_ceph-crash_fix_stderr_handling.patch
src/ceph-crash.in