diff --git a/Initialise-bar-fp-as-NULL.patch b/Initialise-bar-fp-as-NULL.patch new file mode 100644 index 0000000..a1470cb --- /dev/null +++ b/Initialise-bar-fp-as-NULL.patch @@ -0,0 +1,20 @@ +Subject: Initialise bar->fp as NULL +From: Ben Brown ben.brown@softiron.com Thu Mar 28 12:35:28 2024 +0000 +Date: Thu Mar 28 12:53:52 2024 +0000: +Git: 0330ebe40cb645df311bab25888c5ca6cc179efe + +Reviewed-by: Richard W.M. Jones +Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2272045 + +diff --git a/common/progress/progress.c b/common/progress/progress.c +index e4b3066..5848abd 100644 +--- a/common/progress/progress.c ++++ b/common/progress/progress.c +@@ -123,6 +123,7 @@ progress_bar_init (unsigned flags) + bar->machine_readable = 1; + bar->utf8_mode = 0; + bar->have_terminfo = 0; ++ bar->fp = NULL; + } else { + bar->machine_readable = 0; + diff --git a/libguestfs.changes b/libguestfs.changes index 61c9c44..96900c9 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- -Thu Mar 28 13:15:07 MDT 2024 - carnold@suse.com +Fri Mar 29 13:13:41 MDT 2024 - carnold@suse.com -- Fix command line argument parsing with upstream commit +- Upstream bug fixes Split-chown-parameter-on-character.patch + Initialise-bar-fp-as-NULL.patch ------------------------------------------------------------------- Mon Feb 5 14:24:08 MST 2024 - carnold@suse.com diff --git a/libguestfs.spec b/libguestfs.spec index 852ccb5..d3aa2a0 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -34,6 +34,7 @@ Source101: README # Patches Patch1: use-rtc-driftfix-slew-for-x86-only.patch Patch2: Split-chown-parameter-on-character.patch +Patch3: Initialise-bar-fp-as-NULL.patch BuildRequires: bison BuildRequires: file-devel