summary refs log tree commit diff stats
path: root/mailinglist/output_launchpad/1753437
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/output_launchpad/1753437')
-rw-r--r--mailinglist/output_launchpad/175343748
1 files changed, 48 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1753437 b/mailinglist/output_launchpad/1753437
new file mode 100644
index 00000000..a4cb7b81
--- /dev/null
+++ b/mailinglist/output_launchpad/1753437
@@ -0,0 +1,48 @@
+pc-bios/s390-ccw/libc: size_t should be unsigned
+
+qemu/pc-bios/s390-ccw/libc.c:82]: (style) Unsigned variable 'num_idx' can't be negative so it is unnecessary to test it.
+
+Source code is
+
+
+    while (num_idx >= 0) {
+
+but
+
+    size_t num_idx = 1; /* account for NUL */
+
+So there is no escape from the while loop.
+
+Adding qemu-s390x.
+
+On 03/05/2018 11:31 AM, dcb wrote:
+> Public bug reported:
+> 
+> qemu/pc-bios/s390-ccw/libc.c:82]: (style) Unsigned variable 'num_idx'
+> can't be negative so it is unnecessary to test it.
+> 
+> Source code is
+> 
+> 
+>     while (num_idx >= 0) {
+> 
+> but
+> 
+>     size_t num_idx = 1; /* account for NUL */
+> 
+> So there is no escape from the while loop.
+> 
+> ** Affects: qemu
+>      Importance: Undecided
+>          Status: New
+> 
+
+
+
+Looks like the mailing list <-> launchpad bridge again ignored mails to the corresponding mailing list thread. It's not a real bug, see here for details:
+https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg01142.html
+I'll try to remember to clean this up the next time we update the s390-ccw bios.
+
+Fix has been committed:
+https://git.qemu.org/?p=qemu.git;a=commitdiff;h=e4f869621203955761c
+