Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/mDNSResponder/dist/mDNSPosix Fix off by one...
details: https://anonhg.NetBSD.org/src/rev/6764fceb6d02
branches: trunk
changeset: 748247:6764fceb6d02
user: tron <tron%NetBSD.org@localhost>
date: Sun Oct 18 11:54:37 2009 +0000
description:
Fix off by one in parser for "/etc/resolv.conf" found by SSP.
diffstat:
external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3521899cc6aa -r 6764fceb6d02 external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
--- a/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Sun Oct 18 07:23:37 2009 +0000
+++ b/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c Sun Oct 18 11:54:37 2009 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index