diff options
author | mrg <mrg> | 1999-09-25 04:06:41 +0000 |
---|---|---|
committer | mrg <mrg> | 1999-09-25 04:06:41 +0000 |
commit | e3c25aa59b21dc24a3d84994887ee297836bd820 (patch) | |
tree | 2d582e46a4b239b07f4ef93e544ed33c32fe926c /devel | |
parent | 15104018d5024e35734f48300de6a9cce9950b86 (diff) | |
download | pkgsrc-e3c25aa59b21dc24a3d84994887ee297836bd820.tar.gz |
fix a SEGV here; don't use null pointers...
XXX this may not be a "correct and valid" fix; i get this feeling that
"this [flink == NULL] shouldn't happen" ever and that this is also the
symptom of another bug. this change does allow `mkid' to complete over
my NetBSD /usr/src now, something that it hasn't done for several months.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/id-utils/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/id-utils/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/id-utils/files/patch-sum b/devel/id-utils/files/patch-sum index 4505a166767..a823c7c2b2f 100644 --- a/devel/id-utils/files/patch-sum +++ b/devel/id-utils/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.2 1999/08/06 18:08:09 ross Exp $ +$NetBSD: patch-sum,v 1.3 1999/09/25 04:06:41 mrg Exp $ MD5 (patch-aa) = ceb1557ed3b9366f6f4828fda548bd3d +MD5 (patch-ab) = 936e23e5bf89ad06616e46c14e4b7ac6 diff --git a/devel/id-utils/patches/patch-ab b/devel/id-utils/patches/patch-ab new file mode 100644 index 00000000000..6e8b4a8e8ca --- /dev/null +++ b/devel/id-utils/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 1999/09/25 04:06:42 mrg Exp $ + +--- libidu/walker.c.orig Thu Jul 18 06:43:41 1996 ++++ libidu/walker.c Sat Sep 25 13:36:51 1999 +@@ -116,6 +116,8 @@ + continue; + + flink = get_link_from_dirent (dirent, dir_link); ++ if (flink == 0) ++ break; + if (!(flink->fl_flags & FL_PRUNE)) + walk_flink (flink, sub_dirs_vec); + } |