[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859183: marked as done (Typo in array indexing causes segfault on multi-value)



Your message dated Sat, 27 May 2023 05:12:03 +0000
with message-id <[🔎] E1q2mDj-00BvgQ-6v@fasolo.debian.org>
and subject line Bug#1036422: Removed package(s) from unstable
has caused the Debian Bug report #859183,
regarding Typo in array indexing causes segfault on multi-value
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
859183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859183
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cgilib
Version: 0.6-1
Severity: important
Tags: patch
Content-Type: multipart/mixed; boundary="===============1572526208=="
MIME-Version: 1.0
From: debbug@igor2.repo.hu
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Debug: to=submit@bugs.debian.org from="miho23@igor2.repo.hu"
From: miho23@igor2.repo.hu
Subject: cgilib.patch: Typo in array indexing causes segfault on multi-value
 parameters
X-Debbugs-Cc: debbug@igor2.repo.hu

This is a multi-part MIME message sent by reportbug.


--===============1572526208==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: cgilib0.6-1
Severity: important
Tags: patch

Dear Maintainer,

   * What led up to the situation?

HTTP post parameter with the same name appears multiple times crashes
the lib in cgiInit() because of a typo in the array index of a debug
message.

   * What was the outcome of this action?

Segfault.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 4.5.1retfie (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

--===============1572526208==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cgilib.patch"

diff -uri cgilib-0.6-orig/cgi.c cgilib-0.6/cgi.c
--- cgilib-0.6-orig/cgi.c	2017-03-31 08:49:39.000000000 +0200
+++ cgilib-0.6/cgi.c	2017-03-31 08:54:30.990919349 +0200
@@ -637,7 +637,7 @@
 		free (result[k]->value);
 		free (value);
 		result[k]->value = sptr;
-		cgiDebugOutput (1, "%s: %s", result[i]->name, result[i]->value);
+		cgiDebugOutput (1, "%s: %s", result[k]->name, result[k]->value);
 	    }
 	}
 	cp = ++ip;

--===============1572526208==--

--- End Message ---
--- Begin Message ---
Version: 0.6-2+rm

Dear submitter,

as the package cgilib has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1036422

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: