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

Ubuntu dpkg 1.14.20ubuntu3



This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.7
Date: Thu, 24 Jul 2008 18:31:52 +0100
Source: dpkg
Binary: dpkg dselect dpkg-dev
Architecture: source
Version: 1.14.20ubuntu3
Distribution: intrepid
Urgency: low
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Changed-By: Matt Zimmerman <mdz@ubuntu.com>
Description: 
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
Changes: 
 dpkg (1.14.20ubuntu3) intrepid; urgency=low
 .
   * src/help.c: chdir("/") after chroot().  Not only is this good practice,
     but it works around bug #251223
Files: 
 c139463a8aafc72b18230ccfe2820952 1319 admin required dpkg_1.14.20ubuntu3.dsc
 45392749ef1f3e78a02db45af0a00a9a 6649945 admin required dpkg_1.14.20ubuntu3.tar.gz
Original-Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
diff -pruN 1.14.20ubuntu2/debian/changelog 1.14.20ubuntu3/debian/changelog
--- 1.14.20ubuntu2/debian/changelog	2008-07-07 19:00:02.000000000 +0100
+++ 1.14.20ubuntu3/debian/changelog	2008-07-24 18:33:09.000000000 +0100
@@ -1,3 +1,10 @@
+dpkg (1.14.20ubuntu3) intrepid; urgency=low
+
+  * src/help.c: chdir("/") after chroot().  Not only is this good practice,
+    but it works around bug #251223
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 24 Jul 2008 18:31:52 +0100
+
 dpkg (1.14.20ubuntu2) intrepid; urgency=low
 
   * scripts/dpkg-buildpackage.pl, man/dpkg-buildpackage.1: implement
diff -pruN 1.14.20ubuntu2/src/help.c 1.14.20ubuntu3/src/help.c
--- 1.14.20ubuntu2/src/help.c	2008-06-18 08:33:31.000000000 +0100
+++ 1.14.20ubuntu3/src/help.c	2008-07-24 18:27:59.000000000 +0100
@@ -153,6 +153,7 @@ static const char* preexecscript(const c
 
   if (*instdir) {
     if (chroot(instdir)) ohshite(_("failed to chroot to `%.250s'"),instdir);
+    if (chdir("/")) ohshite(_("failed to chdir to `%.255s'"),"/");
   }
   if (f_debug & dbg_scripts) {
     fprintf(stderr,"D0%05o: fork/exec %s (",dbg_scripts,path);

Reply to: