projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fca91a
)
add a comment so that people won't get confused
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 2 Feb 2007 01:57:24 +0000
(
01:57
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 2 Feb 2007 01:57:24 +0000
(
01:57
-0000)
networking/udhcp/files.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/files.c
b/networking/udhcp/files.c
index 775f829dd8d4d7113f4ef9a0bb6c28f3909fee4b..c3ab17de46f271637b96cb19c80c6701c660adea 100644
(file)
--- 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 */