SHA256
1
0
forked from pool/libguestfs

- Upstream bug fixes

Initialise-bar-fp-as-NULL.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=571
This commit is contained in:
Charles Arnold 2024-03-29 19:13:46 +00:00 committed by Git OBS Bridge
parent 768d2e7c5e
commit 6bb32fff80
3 changed files with 24 additions and 2 deletions

View File

@ -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 <rjones@redhat.com>
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;

View File

@ -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

View File

@ -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