From e129f43c83893485b977a3eea35f428d6bab6565 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 2 Feb 2007 01:57:24 +0000 Subject: add a comment so that people won't get confused --- networking/udhcp/files.c | 1 + 1 file changed, 1 insertion(+) (limited to 'networking/udhcp') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 775f829dd..c3ab17de4 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -128,6 +128,7 @@ static void attach_option(struct option_set **opt_list, existing->data = xrealloc(existing->data, existing->data[OPT_LEN] + length + 3); if ((option->flags & TYPE_MASK) == OPTION_STRING) { + /* ' ' can bring us to 256 - bad */ if (existing->data[OPT_LEN] + length >= 255) return; /* add space separator between STRING options in a list */ -- cgit v1.2.3