freebsd-ports/net/radiusd-cistron/files/patch-raduse
Dirk Meyer 9ff6997e33 - Update to 1.6.7-rc2
includes Security Fix
Dictionary files in new location
2003-06-25 16:05:53 +00:00

55 lines
1.1 KiB
Plaintext

--- src/cache.c Mon May 7 14:33:45 2001
+++ src/cache.c Thu Apr 3 09:39:09 2003
@@ -51,7 +51,10 @@
* in memory. Returns -1 on failure, 0 on success.
*/
int buildHashTable(void) {
- FILE *passwd, *shadow;
+ FILE *passwd;
+#if !defined(NOSHADOW)
+ FILE *shadow;
+#endif /* SHADOW */
char buffer[BUFSIZE];
char idtmp[10];
char username[MAXUSERNAME];
--- src/readusers.c Sat Nov 10 05:41:39 2001
+++ src/readusers.c Thu Apr 3 09:42:12 2003
@@ -179,7 +179,7 @@
char *ptr;
char buffer[256];
int first = 1;
- int parsecode;
+ int parsecode = 0;
int state = 0;
int c;
--- src/pair.c.orig Wed Jun 4 17:45:28 2003
+++ src/pair.c Wed Jun 25 17:45:01 2003
@@ -444,9 +444,9 @@
VALUE_PAIR *pair;
struct tm *tm;
time_t timeval;
- int operator;
+ int operator = 0;
int rcode;
- int tag;
+ int tag = 0;
int base;
rcode = USERPARSE_EOS;
--- src/radclient.c Tue Nov 13 05:55:14 2001
+++ src/radclient.c Thu Apr 3 09:46:58 2003
@@ -122,10 +122,10 @@
char *radius_dir;
UINT4 server_ip;
int port;
- int code;
+ int code = 0;
int sockfd;
int salen;
- int result;
+ int result = 0;
int length;
int i;