Module Name:    src
Committed By:   tron
Date:           Sun Oct 18 11:54:37 UTC 2009

Modified Files:
        src/external/apache2/mDNSResponder/dist/mDNSPosix: mDNSPosix.c

Log Message:
Fix off by one in parser for "/etc/resolv.conf" found by SSP.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
diff -u src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.3 src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.4
--- src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c:1.3	Thu Oct  1 16:36:20 2009
+++ src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c	Sun Oct 18 11:54:37 2009
@@ -581,7 +581,7 @@
 	{
 	char line[256];
 	char nameserver[16];
-	char keyword[10];
+	char keyword[11];
 	int  numOfServers = 0;
 	FILE *fp = fopen(filePath, "r");
 	if (fp == NULL) return -1;

Reply via email to