On 31/10/13 20:25, TheSin wrote:
> ChangeLog:    dpkg-deb: Use fd_fd_copy instead of stream_fd_copy
>
> dpkg-deb/extract.c:    if (fd_fd_copy(arfd, p1[1], memberlen, &err) < 0)
>
> need to check &err I think.

Yes, I see now that this line has been fixed in new dpkg
<http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=commitdiff;h=bd0da28> 
but purely by accident, for a different reason 
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621763>.

However, since they are not aware of our problem on MacOSX, it is 
possible that they introduced the same kind of bug elsewhere. I see, for 
example, in dpkg-1.16.12/dpkg-deb/extract.c:61

   pid = subproc_fork();
   if (pid == 0) {
     command_shell(buf, _("shell command to move files"));
   }
   subproc_wait_check(pid, _("shell command to move files"), 0);

and similar things at two other places. This looks like it might break 
on OSX 10.9.

-- 
Martin



------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to