aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-04-27 15:04:40 +0000
committerBrian Somers <brian@FreeBSD.org>2002-04-27 15:04:40 +0000
commit7218868189ab088fb4e171c4efd1e6404e3815a4 (patch)
tree693fde38d54834f1cccd3688fbaf402aea2ca3b5 /net
parent934f51c4214daf806e70ca986b6c0066a9358080 (diff)
downloadports-7218868189ab088fb4e171c4efd1e6404e3815a4.tar.gz
ports-7218868189ab088fb4e171c4efd1e6404e3815a4.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/gnu-radius/files/patch-symtab.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/gnu-radius/files/patch-symtab.c b/net/gnu-radius/files/patch-symtab.c
new file mode 100644
index 000000000000..c1616834b72d
--- /dev/null
+++ b/net/gnu-radius/files/patch-symtab.c
@@ -0,0 +1,12 @@
+--- radlib/symtab.c.orig Tue Nov 27 12:13:36 2001
++++ radlib/symtab.c Wed Apr 24 09:54:42 2002
+@@ -307,6 +307,9 @@
+ {
+ int i;
+ Symbol *sym, *next;
++
++ if (symtab->hash_num == -1)
++ return;
+
+ for (i = 0; i < hash_size[symtab->hash_num]; i++) {
+ sym = symtab->sym[i];