Re: [PATCH v2 05/13] libdpkg: fix compress_cat to read/write to arbitrary fds

2010-02-02 Thread Guillem Jover
Hi! On Sat, 2009-10-24 at 17:42:52 -0500, Jonathan Nieder wrote: > The compress_cat() code had a hidden assumption that fd_in is 0 > and fd_out is 1. This is a bug waiting to happen. But luckily, > all callers do use those values, so it is harmless. > diff --git a/lib/dpkg/compression.c b/lib/d

[PATCH v2 05/13] libdpkg: fix compress_cat to read/write to arbitrary fds

2009-10-24 Thread Jonathan Nieder
The compress_cat() code had a hidden assumption that fd_in is 0 and fd_out is 1. This is a bug waiting to happen. But luckily, all callers do use those values, so it is harmless. Signed-off-by: Jonathan Nieder --- lib/dpkg/compression.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletion