diff -Nru bolt-0.9.1/debian/changelog bolt-0.9.1/debian/changelog --- bolt-0.9.1/debian/changelog 2022-02-25 22:20:33.000000000 +0000 +++ bolt-0.9.1/debian/changelog 2022-09-16 14:08:09.000000000 +0000 @@ -1,3 +1,11 @@ +bolt (0.9.1-2~ubuntu20.04.2) focal; urgency=medium + + * debian/patches/git_initialize_syspath.patch: + - cherrypick an upstream that should help with some of the crashers + which have been reported against 0.9 (lp: #1989971) + + -- Sebastien Bacher Fri, 16 Sep 2022 16:08:09 +0200 + bolt (0.9.1-2~ubuntu20.04.1) focal; urgency=medium * SRU into Ubuntu 20.04. diff -Nru bolt-0.9.1/debian/patches/git_initialize_syspath.patch bolt-0.9.1/debian/patches/git_initialize_syspath.patch --- bolt-0.9.1/debian/patches/git_initialize_syspath.patch 1970-01-01 00:00:00.000000000 +0000 +++ bolt-0.9.1/debian/patches/git_initialize_syspath.patch 2022-09-16 12:48:49.000000000 +0000 @@ -0,0 +1,28 @@ +From c2c0ff0778d53de267a4d18411125a5a366a1ba5 Mon Sep 17 00:00:00 2001 +From: Christian Kellner +Date: Mon, 16 Aug 2021 18:31:08 +0000 +Subject: [PATCH] sysfs: initialize syspath in info_for_device + +Always initialize the syspath member of BoltDevInfo in +info_for_device, so the struct has sane values even if +the function fails. +--- + boltd/bolt-sysfs.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/boltd/bolt-sysfs.c b/boltd/bolt-sysfs.c +index 744af85..dbc4129 100644 +--- a/boltd/bolt-sysfs.c ++++ b/boltd/bolt-sysfs.c +@@ -506,6 +506,7 @@ bolt_sysfs_info_for_device (struct udev_device *udev, + info->full = FALSE; + info->parent = NULL; + info->generation = 0; ++ info->syspath = NULL; + + auth = sysfs_get_sysattr_value_as_int (udev, "authorized"); + info->authorized = auth; +-- +GitLab + + diff -Nru bolt-0.9.1/debian/patches/series bolt-0.9.1/debian/patches/series --- bolt-0.9.1/debian/patches/series 2021-10-05 06:46:37.000000000 +0000 +++ bolt-0.9.1/debian/patches/series 2022-09-16 12:49:00.000000000 +0000 @@ -1 +1,2 @@ git_umockdev_update.patch +git_initialize_syspath.patch