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

Bug#177061: marked as done (broken Depends and Provides parsing)



Your message dated Sun, 19 Jan 2003 09:17:30 -0500
with message-id <E18aGGQ-00036o-00@auric.debian.org>
and subject line Bug#177061: fixed in libdebian-installer 0.11
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Jan 2003 22:20:45 +0000
>From kraai@alumni.cmu.edu Thu Jan 16 16:20:44 2003
Return-path: <kraai@alumni.cmu.edu>
Received: from svfulraptor1.beckman.com (valenciana) [134.217.237.30] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18ZINQ-00013N-00; Thu, 16 Jan 2003 16:20:44 -0600
Received: from kraai by valenciana with local (Exim 3.36 #1 (Debian))
	id 18ZIHn-000079-00
	for <submit@bugs.debian.org>; Thu, 16 Jan 2003 14:14:55 -0800
Date: Thu, 16 Jan 2003 14:14:55 -0800
From: Matt Kraai <kraai@alumni.cmu.edu>
To: submit@bugs.debian.org
Subject: broken Depends and Provides parsing
Message-ID: <[🔎] 20030116221455.GA433@valenciana.dse.beckman.com\000>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Sender: Matt Kraai <kraai@valenciana>
X-BadReturnPath: kraai@valenciana rewritten as kraai@alumni.cmu.edu
  using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.5 required=5.0
	tests=INVALID_MSGID,MSGID_CHARS_WEIRD,PATCH_UNIFIED_DIFF,
	      SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 

Package: libdebian-installer3
Version: 0.10
Tags: patch

Recent memory cleanups broke Depends and Provides parsing.  Please
apply the following patch.

Matt

diff -ur debian-installer.orig/libdebian-installer/debian-installer.c debian-installer/libdebian-installer/debian-installer.c
--- debian-installer.orig/libdebian-installer/debian-installer.c	2002-12-30 07:42:03.000000000 -0800
+++ debian-installer/libdebian-installer/debian-installer.c	2003-01-16 14:04:50.000000000 -0800
@@ -328,7 +328,7 @@
              * Basic depends line parser. Can ignore versioning
              * info since the depends are already satisfied.
              */
-            b = strchr(buf, ' ') + 1;
+            b = strdup(strchr(buf, ' ') + 1);
             i = 0;
             while (*b != 0 && *b != '\n')
             {
@@ -342,7 +342,7 @@
                     else if (p->depends[i] == 0)
                     {
                         dep = malloc(sizeof(struct package_dependency));
-                        dep->name = strdup(b);
+                        dep->name = b;
                         dep->ptr = NULL;
                         p->depends[i] = dep;
                     }
@@ -356,7 +356,7 @@
         }
         else if (di_stristr(buf, "Provides: ") == buf)
         {
-            b = strchr(buf, ' ') + 1;
+            b = strdup(strchr(buf, ' ') + 1);
             i = 0;
             while (*b != 0 && *b != '\n')
             {
@@ -370,7 +370,7 @@
                     else if (p->provides[i] == 0)
                     {
                         dep = malloc(sizeof(struct package_dependency));
-                        dep->name = strdup(b);
+                        dep->name = b;
                         dep->ptr = NULL;
                         p->provides[i] = dep;
                     }

---------------------------------------
Received: (at 177061-close) by bugs.debian.org; 19 Jan 2003 14:23:31 +0000
>From katie@auric.debian.org Sun Jan 19 08:23:31 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18aGMF-0000kv-00; Sun, 19 Jan 2003 08:23:31 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18aGGQ-00036o-00; Sun, 19 Jan 2003 09:17:30 -0500
From: Martin Sjogren <sjogren@debian.org>
To: 177061-close@bugs.debian.org
X-Katie: $Revision: 1.29 $
Subject: Bug#177061: fixed in libdebian-installer 0.11
Message-Id: <E18aGGQ-00036o-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 19 Jan 2003 09:17:30 -0500
Delivered-To: 177061-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
libdebian-installer, which is due to be installed in the Debian FTP archive:

libdebian-installer3-dev_0.11_i386.deb
  to pool/main/libd/libdebian-installer/libdebian-installer3-dev_0.11_i386.deb
libdebian-installer3_0.11_i386.deb
  to pool/main/libd/libdebian-installer/libdebian-installer3_0.11_i386.deb
libdebian-installer_0.11.dsc
  to pool/main/libd/libdebian-installer/libdebian-installer_0.11.dsc
libdebian-installer_0.11.tar.gz
  to pool/main/libd/libdebian-installer/libdebian-installer_0.11.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 177061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Sjogren <sjogren@debian.org> (supplier of updated libdebian-installer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 17 Jan 2003 10:49:23 +0100
Source: libdebian-installer
Binary: libdebian-installer3-dev libdebian-installer3
Architecture: source i386
Version: 0.11
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Sjogren <sjogren@debian.org>
Description: 
 libdebian-installer3 - Library of common debian-installer functions
 libdebian-installer3-dev - Library of common debian-installer functions
Closes: 177061
Changes: 
 libdebian-installer (0.11) unstable; urgency=low
 .
   * Martin Sj���¶gren
     - Fix depends/provides parser (Closes: #177061).
Files: 
 7f3e2f02556b6dede68b110554e0b944 709 libs optional libdebian-installer_0.11.dsc
 0ea8ff3a9b14e42b5efb529855402f97 14115 libs optional libdebian-installer_0.11.tar.gz
 f3fefe8a9f6a8ff95ec2378f7e9c7b4a 9234 libs optional libdebian-installer3_0.11_i386.deb
 967bde14c3f83759ab2870a806dc7132 8078 devel optional libdebian-installer3-dev_0.11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KrJYGpBPiZwE9FYRAusNAJ0bL84Jd07g6Tq+NnUDUsp2JoaLNwCfXlJS
6KYEL4YNILa1QXnMUlqdcLg=
=C9vy
-----END PGP SIGNATURE-----



Reply to: