tag 622094 pending
thanks

Hello,

Bug #622094 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=e654cb5

---
commit e654cb5b6d2eb7f80255fc976a6ccbb8d694bd43
Author: Jonathan Nieder <[email protected]>
Date:   Sun Apr 10 04:06:56 2011 -0500

    libdpkg: Use execvp(3) unconditionally in command_exec()
    
    execvp(3) already checks if its file argument contains a '/'; simplify
    by not checking again for the same thing.
    
    The real motivation is to avoid confusing behavior in an edge case:
    when execve(2) fails with ENOEXEC, execvp will run the script using the
    system shell but execv will error out.
    
    Closes: #622094
    
    Signed-off-by: Jonathan Nieder <[email protected]>
    Signed-off-by: Guillem Jover <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index ca631cb..8ec1d28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,10 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Document in dpkg-query(1) man page that on --listfiles each list of
     files per package name is separated by a blank line. Same goes for
     --status and --print-avail.
+  * Use execvp(3) unconditionally in command_exec(). Making the call always
+    fallback to use the system shell in case of error, such as with empty
+    maintainer scripts. Thanks to Jonathan Nieder <[email protected]>.
+    Closes: #622094
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to