pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch libfetch-2.32:
details: https://anonhg.NetBSD.org/pkgsrc/rev/f91ecccad87c
branches: trunk
changeset: 576514:f91ecccad87c
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Jun 13 21:38:08 2010 +0000
description:
libfetch-2.32:
Fix NULL dereference after failed calloc call. From Tavian Barnes.
diffstat:
net/libfetch/Makefile | 4 ++--
net/libfetch/files/common.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 6f04f4902da6 -r f91ecccad87c net/libfetch/Makefile
--- a/net/libfetch/Makefile Sun Jun 13 20:33:26 2010 +0000
+++ b/net/libfetch/Makefile Sun Jun 13 21:38:08 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.38 2010/03/21 16:48:42 joerg Exp $
+# $NetBSD: Makefile,v 1.39 2010/06/13 21:38:08 joerg Exp $
#
-DISTNAME= libfetch-2.31
+DISTNAME= libfetch-2.32
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 6f04f4902da6 -r f91ecccad87c net/libfetch/files/common.c
--- a/net/libfetch/files/common.c Sun Jun 13 20:33:26 2010 +0000
+++ b/net/libfetch/files/common.c Sun Jun 13 21:38:08 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.26 2010/03/21 16:48:43 joerg Exp $ */
+/* $NetBSD: common.c,v 1.27 2010/06/13 21:38:09 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008, 2010 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -316,6 +316,7 @@
if ((conn = fetch_reopen(sd)) == NULL) {
fetch_syserr();
close(sd);
+ return (NULL);
}
conn->cache_url = fetchCopyURL(url);
conn->cache_af = af;
Home |
Main Index |
Thread Index |
Old Index