[pacman-dev] [PATCH 1/2] lib/dload: prevent possible NULL dereference

2011-08-18 Thread Dave Reisner
Signed-off-by: Dave Reisner --- Our (my) download code isn't very clear, but there's an oddball chance this might happen. Pointed out by Lucas. lib/libalpm/dload.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 5464740..3

Re: [pacman-dev] [PATCH 1/2] lib/dload: prevent possible NULL dereference

2011-08-18 Thread Lukas Fleischer
On Thu, Aug 18, 2011 at 01:57:33PM -0400, Dave Reisner wrote: > Signed-off-by: Dave Reisner > --- > Our (my) download code isn't very clear, but there's an oddball chance this > might happen. Pointed out by Lucas. Still a bit hackish, but definitely looks better than mine :) Signed-off-by: Lukas